Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: padekit labai reike Server Monitor
Parašė buratinas· 2008 Kov. 4 22:03:05
#1
nutareu sukurti cs serva ir labai reike Server Monitor aciuskit koki:( koda
Redagavo buratinas· 2008 Kov. 4 22:03:48
Parašė bad_user· 2008 Kov. 4 22:03:39
#2
openside("Server status");
error_reporting(0);
$my_serv_name2="";
$my_ip2="server ip:7777";
$IP2 = array(
"$my_serv_name2" => ""
);
while(list($ServerName2,$Host2)=each($IP2)) {
list($IPAddress2,$Port2)=explode(":",$Host);
echo("<TR><TD>".$ServerName2."</TD><TD>");
if($fp=fsockopen($IPAddress2, 7777, $ERROR_NO, $ERROR_STR,(float)0.5)) {
echo("
<table border='0' cellpadding='0' cellspacing='0' width='165' height='50'>
<tr height='50'>
Game Server: <font color=green><B>ONLINE</B></font></td>
</tr>
</table>
");
fclose($fp);}
else
echo ("
<table border='0' cellpadding='0' cellspacing='0' width='165' height='50'>
<tr height='50'>
Game Server: <font color=black><B>OFFLINE</B></font></td>
</tr>
</table>
");
}
closeside();
Redagavo bad_user· 2008 Kov. 4 22:03:25
Parašė respect· 2008 Kov. 4 22:03:51
#3
biski hujovai parasei ir isjunk smailus
Parašė sniuff· 2008 Kov. 4 23:03:02
#4
openside("Server status");
error_reporting(0);
$my_serv_name2="";
$my_ip2="server ip:7777";
$IP2 = array(
"$my_serv_name2" => ""
);
while(list($ServerName2,$Host2)=each($IP2)) {
list($IPAddress2,$Port2)=explode(":",$Host);
echo("<TR><TD>".$ServerName2."</TD><TD>");
if($fp=fsockopen($IPAddress2, 7777, $ERROR_NO, $ERROR_STR,(float)0.5)) {
echo("
<table border='0' cellpadding='0' cellspacing='0' width='165' height='50'>
<tr height='50'>
Game Server: <font color=green><B>ONLINE</B></font></td>
</tr>
</table>
");
fclose($fp);}
else
echo ("
<table border='0' cellpadding='0' cellspacing='0' width='165' height='50'>
<tr height='50'>
Game Server: <font color=black><B>OFFLINE</B></font></td>
</tr>
</table>
");
}
closeside();
Parašė bad_user· 2008 Kov. 4 23:03:16
#5
Kipshiau galiu paklausti kam ta pati koda 2x parašei? :|
Parašė buratinas· 2008 Kov. 4 23:03:40
#6
dekuj;)