RE: [PHP] [Newman] Help Needed with a redir script.

2002-03-26 Thread SHEETS,JASON (Non-HP-Boise,ex1)
PROTECTED]] Sent: Tuesday, March 26, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: [PHP] [Newman] Help Needed with a redir script. 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 htt

[PHP] [Newman] Help Needed with a redir script.

2002-03-26 Thread Philip J. Newman
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. Phil