[Newman] Help Needed with a redir script.
| From: | Philip J. Newman | Date: | Tue, 26 Mar 2002 21:41:57 +0000 |
| Subject: | [Newman] Help Needed with a redir script. | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-90277@lists.php.net to get a copy of this message | ||
I have a list of links!
$linkone="http://server1.dyndns.org/";
$linktwo="http://server2.dyndns.org/";
I would like to make a script that looks for http://server1.dyndns.org/, if
it returns a 404, or DNS error then it redirects to
http://server2.dyndns.org/ this server.
Any suggestions.
Philip J. Newman
PhilipNZ :: Design Solutions
http://www.philipnz.com/
info@philipnz.com
ICQ# 20482482
+64 25 6144012