Checking if remote device is still online
Posted: Thu Mar 17, 2011 2:08 pm
Hi.
Is there any PHP function that allows me to check if a device is still online?
I have one computer managing information (writing to a file) whilst another is using that information but i need the main computer to know if the other has lost its connection to the internet. Is there a way to check via the IP or something? Anything that writes to a database seems worthless since a lost connection wont trigger a change to the database.
Thought there might be some function that could check the IPs viewing a file or something?
Many thanks in advance
Is there any PHP function that allows me to check if a device is still online?
I have one computer managing information (writing to a file) whilst another is using that information but i need the main computer to know if the other has lost its connection to the internet. Is there a way to check via the IP or something? Anything that writes to a database seems worthless since a lost connection wont trigger a change to the database.
Thought there might be some function that could check the IPs viewing a file or something?
Many thanks in advance