Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Panele ant paveikslelio

Parašė Jaunelis· 2010 Lap. 10 13:11:07
#2


echo "";
 
error_reporting(0);
 
$IP = array(
echo "<div style='padding-left:50px;'>";
 
"<font size=2>Login: </font>" => "78.58.83.53:2106" , "<font size=2>Game: </font>" => "78.58.83.53: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("<font color='green'><font size=2>Online </font></font><br>");
 
fclose($fp);
 
}
 
else {
 
echo ("<font color='red'><font size=2>Offline</font></font><br>");
echo "</div>";
 
}
 
}
 


try it.

Redagavo Jaunelis· 2010 Lap. 10 13:11:30