We are making a website for our client.
what my intentions are is to open the html version of the webpage page stored locally on the clients machine.
<this is where i need some help>
if a connection to the clients server is available, reload the page from the server. (i will do this via IP address)failing that if the local page cant connect to the clients server i want it to redirect the page to myself where i will store the same page as the clients server.
If neither can be reached i want the clients page to say "please contact your administrator"
What do i need to add to my source code to make this work if possible? or alternatively how can i acheive this result?
Thanks so much for any help posted!