Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Serverio Statusas

Parašė Creatium· 2009 Bir. 18 23:06:23
#2

Bandyk:

openside("Gracia Final");

error_reporting(0);
$IP = array("<center><b>LS STATUS</b>Serverio statusas: " => "84.240.62.220:2106",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<img src='http://avangardas.eu/server_online.png'>");
fclose($fp);
}
else {
echo ("<img src='http://avangardas.eu/server_offline.png'>");
}
echo ("</center>\n");
}



error_reporting(0);
$IP = array("<center><b>GS STATUS</b>Serverio statusas: " => "84.240.62.220:7777",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<img src='http://avangardas.eu/server_online.png'>");
fclose($fp);
}
else {
echo ("<img src='http://avangardas.eu/server_offline.png'>");
}
echo ("</center>\n");
}

closeside();



Redagavo Creatium· 2009 Bir. 18 23:06:34