I need a dynamic server status script.. I need it to be to ip 67.18.216.18 and port 43594 just a simple
Server Status:ONLINE
or
Server Status:OFFLINE
Paying 50 points
Try to use the font Arial
Please include the httacess to change it from php to png
I have this so far.Needing it to be an image<?
$ip = "67.18.216.18";
$port = "43594";
if (! $sock = @fsockopen($ip, $port, $num, $error, 5))
echo '<B><FONT COLOR=red>Offline</b></FONT>';
else{
echo '<B><FONT COLOR=lime>Online</b></FONT>';
fclose($sock);
}
?>


LinkBack URL
About LinkBacks







Reply With Quote




