Status script

labrat1461

New Member
Messages
21
Reaction score
1
Points
0
I need help writing a status script, where either a php or html page checks a iframe for a png image, and if it can't locate the png image it means the server is offline and changes the iframe url to another page with the text 'Server Status: Offline' , but changes when it is back online.

Sorry if its not clear its blueprints, I need something like this and nothing to do with ports already tried ports and it didn't work at all -___-
 
Last edited:

vv.bbcc19

Community Advocate
Community Support
Messages
1,524
Reaction score
92
Points
48
I think you need a script similar to "Realm status PHP script 2.0"
Here is the Realm status PHP script 2.0
You might need to replace the check point in the script with the needful i.e., check for image and then do the necessary stuff..
 

protego8

New Member
Messages
14
Reaction score
0
Points
0
You could always use PHP's cURL and check the page headers to see if the http response headers is up or down :)
 
Top