Code: Select all
$fp = @fsockopen('Put your IP Here', Port Goes here. Usually 3002, $errno, $errstr, 2);
if($fp){ '<font color=green>Online</font>'; }
else{ echo '<font color=red>Offline</font>'; }
Code: Select all
$fp = @fsockopen('xx.xxx.xxx.xx', 3002, $errno, $errstr, 2);
if($fp){ '<font color=green>Online</font>'; }
else{ echo '<font color=red>Offline</font>'; }

Anyone knows why? Wrong port??? Wrong script???
Must i host the script of the same computer, that the server is on??
Note: I replaced my IP with xx.xxx.xxx.xx for security reasons.
