All pastes #934227 Raw Edit

Unnamed

public text v1 · immutable
·published 2008-03-08 18:28 UTC
rendered paste body
<?php
 $fp = fsockopen("www.example.com", 80, $errno, $errstr, 30);
 if (!$fp) {
     echo " <img src='offline.gif'> ";
 } else {
     echo " <img src='online.gif'> ";
 }
?>