Location: PHPKode > scripts > Server Status > ServerStatus/image.php
<?php
error_reporting(0);

header("Content-type: image/gif");


    $fp = fsockopen($host, $port,$errno,$errstr, 4);
         if (!$fp){
             readfile('offline.gif');
         } else {
		readfile('online.gif');
             fclose($fp);
         }



?>
Return current item: Server Status