Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: L2 Servo sriptas

Parašė ramon· 2007 Spa. 2 16:10:31
#9

Bandyk sita ;)

<?php

openside("L2 Serveris");
error_reporting(0);
$IP = array("<center>Serverio statusas: " => "127.0.0.1:5000",);
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("<img src='http://lineage2.com/images/server_online.png'>");
fclose($fp);
}
else {
echo ("<img src='http://lineage2.com/images/server_offline.png'>");
}
echo ("</center></td></tr>\n");
}
closeside();
?>


Ten kur 127.0.0.1:5000 rasyk savo aisq :)

Redagavo ramon· 2007 Spa. 2 16:10:11