Re: [PHP4BETA] Is autoregister of HTTP_STATE_VARS possible?
| From: | Sascha Schumann | Date: | Wed, 08 Mar 2000 06:54:21 +0000 |
| Subject: | Re: [PHP4BETA] Is autoregister of HTTP_STATE_VARS possible? | ||
| References: | 1 2 3 4 5 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-11733@lists.php.net to get a copy of this message | ||
On Tue, Mar 07, 2000 at 03:04:42PM -0600, Andrei Zmievski wrote:
> On Tue, 07 Mar 2000, Shane Burrell wrote:
> > If $HTTP_STATE_VARS[] did a session_register for you at least when
> > register_globals=off and track_vars=on that would make migration easier. In
> > refering to global checkin I mean register_globals option in the php.ini. Is
> > using $HTTP_*_VARS with register_globals=off the best way to go?
>
> Automatically registering everything that's in $HTTP_STATE_VARS[] on
> register_globals=off might be possible. I need more feedback from people
> to see whether this is such a good idea. As far as your question, I
> don't quite understand what you mean. The best way is not obvious to me.
Sounds reasonable. We should make this the default behaviour, when
register_globals is off.
- Sascha