Lo olvidaba, el script es:
Código:
<?php
$status = @fsockopen ("127.0.0.1","2106", $errno, $errstr, 1);
if ( $status )
$lstat = "<font color=#00FF00>ONLINE</font>";
else
$lstat = "<font color=#FF0000>OFFLINE</font>";
?>
<html>
<body>
<font color=#000000><span class="style3">Login:</span></font> <?php print ("$lstat"); ?><br>
</html>