What I Want To Add Is Like...
CODE
[Ip]
[Port]
[Port]
Where They Can Fill It In.
And Then It Would Make A Place Where It Would Make New Kind Of Topic On Another Page Which will be Created
Eg..."Server List"
And Its Like A Forum Topic And It Would Say Offline Or Online.
The Code For Server Status Is
CODE
<?
$ip = "serverip";
$port = "portnumber";
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);
}
?>
$ip = "serverip";
$port = "portnumber";
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);
}
?>