header function
| From: | Donahue Ben | Date: | Sat, 09 Nov 2002 19:47:32 +0000 |
| Subject: | header function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-123611@lists.php.net to get a copy of this message | ||
I am using the header function what i have is this:
header("Location:
http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/".$relative_url
$relative_url is a php file
when i run this script with this header function in
it, i get an error saying:"Redirection limit for this
URL has exceeded. Unable to load the requested page."
I dont understand why i get this error and how to fix
this.
Ben
__________________________________________________
Do you Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2