Hi,
I was wondering if there was a script that would make my website redirect to another website if site #1 was down.
Thanks
Hi,
I was wondering if there was a script that would make my website redirect to another website if site #1 was down.
Thanks
See this thread![]()
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
That thread refers to an Iframe hosted on his computer and another page hosted on the web. What about a page just hosted on the web?
Thanks
I believe the thetestingsite's code should keep you going
...if nothing works, do post this in the PHP section...i'm not on my wits with regards to PHPCode:<?php error_reporting(0); if (fsockopen("www.yoursite.com", 80, $errno, $errstr, 30)) { header('Location: http://www.yoursite.com/computer.html'); } else { header('Location: http://www.other-site.com/page.html'); } ?>![]()
Learn how to code at 02geek
The more you learn, the more you'll realize there's much more to learn
Ray.ph!
mvwebdesign (04-22-2008)
Bookmarks