here is my code
<?php
$ip = "rssworld1.servegame.com";
if (! $sock = @fsockopen($ip, "43594", $num, $error, 5))
{
echo "<font>Offline</font>";
}
else
{
echo "<font>Online</font>";
}
?>
And It shows if the server is online or offline
My only problem is, is that it send a null connection to the server so what I need it to do is once it checks to see if the server is up I need it to dissconect the sock connection that it established when it checked to see If I was online...
Do You understand?
Help needed...