hola gente.
me podrian orientar o decir porque el siguiente script no me funciona..
<?php
print'<table width="100">';
$server = "aqui. pongo.mi.ip";
$portg = "7777";
$portl = "2106";
$timeout = "5";
if ($server and $port and $timeout) {
$game = @fsockopen($server, $portg, $portl, $errno, $timeout);
$login = @fsockopen($server, $portl, $portl, $errno, $timeout);
}
if($login) { print'<p>Login:<font color="#00FF00"><strong> OnLine</strong></font></p>'; }
else { print'<p>Login:<font color="#FF0000"><strong> OffLine</strong></font></p>'; }
if($game) { print'<p>Server:<font color="#00FF00"><strong> OnLine</strong></font></p>'; }
else { print'<p>Server:<font color="#FF0000"><strong> OffLine</strong></font></p>'; }
print'</table>';
?>
saludos y gracias