Hi All,
Simply what i want is to ping the ip address of my other site: [69.175.121.66] and check if it is online via an if statement so if would see if the ip is online, else { header("Location: offline.php") }.
Is it possible, if it isnt possible in php, how about javascript.
and yes i know this isnt a javascript forum.
Thanks in advance
-Humza
Hi All,
Simply what i want is to ping the ip address of my other site: [69.175.121.66] and check if it is online via an if statement so if would see if the ip is online, else { header("Location: offline.php") }.
Is it possible, if it isnt possible in php, how about javascript.
and yes i know this isnt a javascript forum.
Thanks in advance
-Humza
|
|
Search Webmaster Help and Solution
Ping Website, IF StatementRelated ItemsQuery failed: connection to localhost:3354 failed (errno=111, msg=Connection refused). |
