Reply to All
Show messages
Messages
Inbox
Search
Login
1–9
PHP Check if system is online
From: ANT_THOMAS
16 Nov 2011 01:02
To: ANT_THOMAS
6 of 9
39111.6
In reply to
39111.5
Damn it, ping doesn't work with my Windows Apache server.
From: CHYRON (DSMITHHFX)
16 Nov 2011 02:12
To: ANT_THOMAS
7 of 9
39111.7
In reply to
39111.6
quote:
doesn't work with my Windows
the rest is redundant...
From: Drew (X3N0PH0N)
16 Nov 2011 03:36
To: ANT_THOMAS
8 of 9
39111.8
In reply to
39111.6
If it's a web server you want to check then why not just use file() or file_get_contents() to try to retrieve something you know to be there?
(This may be bad practise, I dunno)
From: ANT_THOMAS
16 Nov 2011 15:04
To: Drew (X3N0PH0N)
9 of 9
39111.9
In reply to
39111.8
If I can't get a ping solution working I might have to install some webserver on the two systems in question and use the method you suggest. They're both running ubuntu and one is a VM, so to be honest that one probably doesn't really need to be checked.