Re: header function

From: Date: Sat, 09 Nov 2002 19:49:26 +0000
Subject: Re: header function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123612@lists.php.net to get a copy of this message
The file loading may be too long for PHP to recognize it or whatever. Try shortening it in some way. ----- Original Message ----- From: "Donahue Ben" <fun23_us@yahoo.com> To: <php-general@lists.php.net> Sent: Saturday, November 09, 2002 2:47 PM Subject: [PHP] header function > I am using the header function what i have is this: > > header("Location: > http://".$_SERVER['HTTP_HOST'].dirname($_SERVER['PHP_SELF'])."/".$relative_u rl > > $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 > >

« previous php.general (#123612) next »