Server Status

M

Macaws

Guest
I need a script I can install on a non-x10hosted site, that can check the server status of my x10hosting site. I don't want it to be a general server checker, I just want it specifically for my website. The user shouldn't even type anything in.

Is This possible?
 

Fearghal

Member
Messages
286
Reaction score
0
Points
16
I need a script I can install on a non-x10hosted site, that can check the server status of my x10hosting site. I don't want it to be a general server checker, I just want it specifically for my website. The user shouldn't even type anything in.

Is This possible?

Yes - The thing about computers and programming is, as long as you know your stuff - you can do anything. I suppose you could even make a computer think it was a bottle of water if you were good enough :)
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
I know brandon has a couple scripts that check server status... you may ask him
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
PHP:
function http($host, $port){

$connection = @fsockopen($host, $port, $ERROR_NO, $ERROR_STR, (float)1.5);

if($connection)
{
    fclose($connection);
    echo 'Online :D';
}
else
{
    echo 'Offline :(';
}
}

http(HOST, PORT);

edit HOST and PORT
 
Last edited:

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
lol. but there is no point in hosting it on your website here at x10 if you are checking the status of your own server. :p
 
Top