Re: Global variable question question

From: Date: Wed, 23 Jul 2003 19:35:00 +0000
Subject: Re: Global variable question question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-156507@lists.php.net to get a copy of this message
"Jason Giangrande" <jason@giangrande.org> wrote in message news:1058987969.29509.10.camel@dragon.giangrande.org... > 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 I would assume that if you turned register_globals off $PHP_SELF will no longer be available. Course you can always extract($_SERVER); if you want the effect of register_globals inside your script without turning the feature on globally. - Kevin

« previous php.general (#156507) next »