Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require_once ( 'config.php');
- if (! $sock = @fsockopen($ip, $port, $num, $error, 3))
- echo '<FONT COLOR=red>Offline</FONT>';
- else{
- echo '<FONT COLOR=green>Online</FONT>';
- fclose($sock);
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement