Hi, first off i have to say that you're doing a great job shiva.
But why i'm here is cause i'm 'developing' a personal website where i have a server status function scripted in php (simple script) Though with the latest update it isn't working correctly anymore, it always shows offline even when the server is online. So are there any changes made what could cause this?
The code goes as following:
PHP Code:
<?php
$world = @fsockopen('localhost', 8085, $errno, $errstr, 1);
$realm = @fsockopen('localhost', 3724, $errno, $errstr, 1);
if ($world && $realm >= 1){
echo '<font color="#00FF00"><strong>Online</strong></font>';
}
else {
echo '<font color="#CC0000"><strong>Offline</strong></font>';
}
?>