Results 1 to 6 of 6
Threaded View
-
16th Jun 2012, 09:04 PM #1OPMember
Server Status Issue
I am working on a script which show the server status of a site ...
This is what i used :-
Code:<?php $ip="{$_GET['ip']}"; $port="{$_GET['port']}"; header('Content-type: image/png'); if(!$sock=@fsockopen($ip,"$port", $num, $error, 5)) { readfile('image/offline.png'); } else { readfile('image/online.png'); } ?>
the only problem is abt the expired domains ....
For Example :- cliplinks.net (expired)
It should have shown that the domain is offline ...
But it shows its online ....
So How Can I Fix This .....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
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
KWWH away status.
By Cooper in forum Feedback and SuggestionsReplies: 7Last Post: 1st Feb 2012, 08:46 PM -
New server, vBulletin cookie issue
By Eplexx in forum Technical Help Desk SupportReplies: 5Last Post: 26th Aug 2011, 01:22 AM -
Vps Server Issue
By warezboy in forum Hosting DiscussionReplies: 18Last Post: 2nd Sep 2010, 08:15 PM -
DNS Server Issue..
By Ronald in forum Technical Help Desk SupportReplies: 11Last Post: 18th Mar 2010, 05:04 PM
themaPoster - post to forums and...
Version 5.22 released. Open older version (or...