nveselinov on 10/12/10
Last Edited at 10/12/10 04:41am
<?php$ip = "000.000.00.00";$port = "80";if ($check=@fsockopen($ip,$port,$ERROR_NO,$ERROR_STR,(float)0.5)) { fclose($check); echo '<b style="color:green">Online</b>';} else { echo '<b style="color:red">Offline</b>';} ?>
Report this snippet Tweet
Comment:
You need to login to post a comment.