Parašė Vilme· 2008 Geg. 11 14:05:28
#13
Man meta error kaip dave Song kol neparasau taip :
openside("Musu serveris");
echo "<?php
<br>
Servo pavadinimas : LFSracing
<br>
Servo IP : 84.32.101.188
<br>
Portas : 63392<br>";
error_reporting(0);
$IP = array("Serverio statusas: " => "84.32.101.188:63392",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("<tr><td>".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<font color='#006600'><b> Online</font></b><br>");
fclose($fp);
}
else {
echo ("<font color='#ff0000'><b> Offline</font></b><br>");
}
echo ("</center></td></tr>\n");
}
closeside();
?>
Redagavo Vilme· 2008 Geg. 11 14:05:40