server status script php

server status script php


server status script php
PHP Server Status Script?

I am looking for a PHP Script that will check the status of an IRC Server on port 6667 and report back if it online or offline, I have tried google and they all say that the server is offline and the server supports PHP. Thanks!

print'

';
$server = "SERVER IP HERE";
$portg = "6667";
$timeout = "5";

if ($server and $port and $timeout) {
$ircserv = @fsockopen("$server", $portg, $errno, $errstr, $timeout);
}
print'

';
if($ircserv) { print'

'; }
else { print'

'; }
print'

Server Status
Server Status: Online

Server Status: Offline

';
?>

[phpbay]server status script php, 30, "11211"[/phpbay]
[phpzon]server status script php, 5, Electronics[/phpzon]

JOHNCLIENTPKZ.http://www.moparscape.org/serverstatus.php?action=view&server=k1ll-scape.no-ip.biz

Leave a Reply