Actually, I am running PHP 4.3.2 on a Gentoo Linux box with
registered_globals set to Off and $PHP_SELF does work.  The production
box running Red Hat and PHP 4.3.0, with register_globals also set to
Off, doesn't work using $PHP_SELF (as apparently it should), and this is
why I was asking.

Jason

 On Wed, 2003-07-23 at 16:13, Lars Torben Wilson wrote:
> On Wed, 2003-07-23 at 12:19, Jason Giangrande wrote:
> > When registered globals is set to off this does not effect the $PHP_SELF
> > variable right?  In other words I should be able to call $PHP_SELF with
> > out having to do this $_SERVER['PHP_SELF'], right?
> > 
> > Thanks,
> > Jason Giangrande
> 
> Without going into why you didn't read the manual or just try it, the
> answer is 'wrong'. ;) If register_globals is off, $_SERVER['PHP_SELF']
> is what you will need.
> 
> 
> Good luck,
> 
> Torben
> 


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

Reply via email to