ok .. I Want to make some changes to this code ...
if i site gets redirected to some other link ... i want to show it as offline ...
i mean all redirects will be treated as offline ...
is it possible ?
Matrix4u Reviewed by Matrix4u on . Server Status Issue I am working on a script which show the server status of a site ... This is what i used :- <?php $ip="{$_GET'ip']}"; $port="{$_GET'port']}"; header('Content-type: image/png'); if(!$sock=@fsockopen($ip,"$port", $num, $error, 5)) { readfile('image/offline.png'); Rating: 5