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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to