I am working with a company intranet that does not support PHP. To enable PHP functionality on a few pages, I redirect users from the intranet server to my own computer that runs PHP.
Is there some way for a plain HTML page to determine if another server (aka: my desktop computer running PHP/Apache) is active?
This is most likely done through javascript. If my computer is running, the intranet web page should direct the user to my computer's PHP/Apache server. If my computer is not running, the intranet web page should tell the user that my computer is unavailable - in a format other than the standard 'Cannot connect to site' page that browsers display.
Is there some way for a plain HTML page to determine if another server (aka: my desktop computer running PHP/Apache) is active?
This is most likely done through javascript. If my computer is running, the intranet web page should direct the user to my computer's PHP/Apache server. If my computer is not running, the intranet web page should tell the user that my computer is unavailable - in a format other than the standard 'Cannot connect to site' page that browsers display.