Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-09 Thread Carsten Gehling
From: "Carsten Gehling" <[EMAIL PROTECTED]> Sent: Monday, April 09, 2001 9:31 AM Subject: Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on > From: "Alexander Feldman" <[EMAIL PROTECTED]> > Sent: Friday, April 06, 2001 10

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-09 Thread Carsten Gehling
From: "Alexander Feldman" <[EMAIL PROTECTED]> Sent: Friday, April 06, 2001 10:46 PM > Hm, very strange. You are absolutely right - I do not see any problems as > well. Not only with the current cvs but with the older phps also... But I > am sure I have seen some time ago exactly what was describ

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-06 Thread Alexander Feldman
On Fri, 6 Apr 2001, Sascha Schumann wrote: > > It is simpler. > > Chuck is talking about another problem which I agree has not > been addressed yet properly. > > > We should just leave the array $HTTP_SESSION_VARS in the > > case when register_globals is on. Currently when the variables a

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-06 Thread Sascha Schumann
> It is simpler. Chuck is talking about another problem which I agree has not been addressed yet properly. > We should just leave the array $HTTP_SESSION_VARS in the > case when register_globals is on. Currently when the variables are registered > they *are* removed from the $HTTP_SESSIO

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-06 Thread Alexander Feldman
On Fri, 6 Apr 2001, Chuck Hagenbuch wrote: > Quoting Sascha Schumann <[EMAIL PROTECTED]>: > > > >- but that does make it really > > > messy to write code that works with either setting. > > > > Yes. Feel free to propose a solution which solves your > > problem and which is compatible to

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-06 Thread Sascha Schumann
> Possibly not - can the original poster comment? He wrote If register_globals is set to on, you cannot access $HTTP_SESSION_VARS any longer. Instead you can get the values through implicit created variables or through the $GLOBALS array. 'access' and 'get' sound like read operations to

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-05 Thread Sascha Schumann
> If register_globals is set to on, you cannot access $HTTP_SESSION_VARS any > longer. Instead you can get the values through implicit created variables or > through the $GLOBALS array. Unless a bug has slipped in, HTTP_SESSION_VARS get always created. If you enable register_globals, var

Re: [PHP-DEV] Request for new feature: $HTTP_SESSION_VARS whenregister_globals = on

2001-04-05 Thread Alexander Feldman
This makes sense. The behaviour quoted below creates difficulties when writing portable scripts (not to depend on the value of register_globals). Rgds: -- Alex On Thu, 5 Apr 2001, Carsten Gehling wrote: > One of the IMHO stranger behaviors in PHP is what happens to the > $HTTP_SESSION_VARS arr