Re: header("Location: " . $PHP_SELF) doesn't work

From: Date: Wed, 27 Sep 2000 16:12:14 +0000
Subject: Re: header("Location: " . $PHP_SELF) doesn't work
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-17749@lists.php.net to get a copy of this message
Hi Marius! On Wed, 27 Sep 2000, Marius Andreiana wrote: > Hi > > In a script I do that and I get Document contained no data. > But if I append a parameter, such as > > header("Location: " . $PHP_SELF . "?asdf") I guess it sends only "Location: ?asdf" if you have register_globals off you should read PHP_SELF from the $HTTP_SERVER_VARS['PHP_SELF']. -- teodor

« previous php.general (#17749) next »