Results 1 to 3 of 3
Mar 17, 2004, 11:54 #1
- Join Date
- Nov 2003
- Los Angeles
- 0 Post(s)
- 0 Thread(s)
How to page redirect if server is down?
Hopefully I can make this clear for any of you to help with this.
I am running on my local pc a local html file. I have this local html file displaying news feeds from various sources. In addition, the local file is pulling images and contect from external domains.
My goal is for the local html file to check to see if the external domains are alive - (perhaps by looking for a small gif). If the external domain is down, the script of code will redirect my local webpage to an existing html webpage that is stored locally. The existing html webpage will bring up default content.
Does anyone know how to code this? If so, would you be so kind as to paste your code so I can use it?