Re: problem with $PHP_SELF

From: Date: Wed, 28 Apr 2004 08:54:25 +0000
Subject: Re: problem with $PHP_SELF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184845@lists.php.net to get a copy of this message
"Marten Lehmann" <lehmann@cnm.de> wrote in message news:408F7015.2000002@cnm.de... > Hello, > > I upgraded from 4.3.4 to 4.3.6. While my scripts are running fine, some > of my customers don't, because they partially rely on $PHP_SELF being > set (which was the case with 4.3.4), but with 4.3.6, $PHP_SELF is empty. > PHP is running as CGI in our configuration, so $PHP_SELF should be the > same as $SCRIPT_NAME. I can't see any changes in the Chanelog concerning > this issue. Did anyone else notice this behaivour? Use $_SERVER['PHP_SELF'] instead. Regards, Torsten > > Regards > Marten Lehmann

« previous php.general (#184845) next »