Okay, I'm setting a MySQL server on another box. The web server needs to connect to the remote server for data exchange. Easy.
BUT - what if I want the web server to check for a good connection first, and if it can't connect in, say 15 seconds, give up and display something else?
- Check if URL
ORT is alive
- If not, wait for 15 seconds to be sure it's not simply an internet delay
- If alive, go ahead with custom message 1.
- If not alive, display custom message 2.
I'm an "intermediate" PHP programmer, and I can implement anything on PHP 4.
Ideas?