hay,
kennt jmd die Ports von:
WinGM?
Wäre net...
Mfg
kennt jmd die Ports von:
WinGM?
Wäre net...
Mfg
<style type="text/css">
<!--
.status1 {
color: #000;
font-size: 18px;
font-family: Shanghai;
}
.status2 {
color: #0C0;
font-size: 18px;
font-family: Shanghai;
}
.status3 {
color: #F00;
font-size: 18px;
font-family: Shanghai;
}
-->
</style>
<table width="189" border="0" cellpadding="0" cellspacing="0">
<th valign="top" height="34" width="189" colspan="2" background="styles/<?=$style;?>key2.png"></th>
<?PHP
echo "WinGM";
$funzocker = "121.12.122.132";
$ip = gethostbyname($funzocker);
$portlist=array(11002, 13000, 13001);
$onliner=array("MySql Server", "Login Server", "Char Server", "World Server");
$i=0;
foreach ($portlist as $port){
echo "<tr><td align=right width=100>".$onliner[$i]." </td>";
$online = @fsockopen($ip, $port, $errno, $errstr, 1);
if (!$online)
{
echo "<td align=center><img src=off.gif width=80 height=20 /></td></tr>";
}
else
{
echo "<td align=center><img src=on.gif width=80 height=20 /></td></tr>";
}
@fclose($online);
$i++;
}
?>
</table>
<style type="text/css">
<!--
.status1 {
color: #000;
font-size: 18px;
font-family: Shanghai;
}
.status2 {
color: #0C0;
font-size: 18px;
font-family: Shanghai;
}
.status3 {
color: #F00;
font-size: 18px;
font-family: Shanghai;
}
-->
</style>