I have a button on a page that sends the user to a different server. I want to write code so that the button checks to see if the server is available. If the server is not available, I want the user to be directed to a nice friendly page that tells them the server is down. I know I need an if/then statement, but I don't know how to check the server before sending the user to it.
Please help!
Please help!