Just a small expample of it
PHP Code:
<?php = "YOURIP"; = "PORT";?>
<td align="left">Login Server:
<?php = @fsockopen(, , , , 1);
if (!) { echo "<font style='color: #FF3300'><B>Offline</B></font></br>";
} else { echo "<font style='color: #009933'><B>Online</B></font></br>";
fclose();
}
?>