[PHP-DEV] Re: [PHP-DOC] Fwd: Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On

2001-05-22 Thread Hojtsy Gabor

   As I mentioned in my other message, $HTTP_SESSION_VARS value and the
   global value used to be references, but after some people complained
   about this fact on the list, it was changed.. I wouldn't mind
   reinstating it, but if we do, let's do it once and for all with very
   good reasons to avoid another such occurrence.
  
   Making them references is the right thing IMO.
   I think we should also write in the manual that people should use
   $HTTP_SESSION_VARS[]. (I haven't checked if this is written or not so
it
   might be already).
 
 Ok, we'll make them references then. I hope someone documents it,
 though, because I don't have time right now.

Aha. This caused some really bad 'bugs' in the new PHP release...
I didn't know why it was bad... Please revert to the same method
as $HTTP_*_VARS use...

Goba
... . . .  .  .
Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: [PHP-DOC] Fwd: Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On

2001-05-22 Thread Andrei Zmievski

On Tue, 22 May 2001, Hojtsy Gabor wrote:
 Aha. This caused some really bad 'bugs' in the new PHP release...
 I didn't know why it was bad... Please revert to the same method
 as $HTTP_*_VARS use...

Excuse me? I'm quite confused by your message. Do you mean that
$HTTP_SESSION_VARS['foo'] and $foo should not be references to the same
value?

-Andrei
* Life may be expensive, but it includes an annual free trip around the sun. *

-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP-DEV] Re: [PHP-DOC] Fwd: Re: [PHP-DEV] Using $HTTP_SESSION_VARS with register_globals On

2001-05-22 Thread Hojtsy Gabor

  Aha. This caused some really bad 'bugs' in the new PHP release...
  I didn't know why it was bad... Please revert to the same method
  as $HTTP_*_VARS use...
 
 Excuse me? I'm quite confused by your message. Do you mean that
 $HTTP_SESSION_VARS['foo'] and $foo should not be references to the same
 value?

$HTTP_GET_VARS['foo'] (get!!) and $foo are references to the
same value now... I think...

This should be the same for SESSION vars. This is not the
case now if I understand the original letter well...

I received some bug reports from PHP users complaining, that
their session vars are working in global scope, but not in
the $HTTP_SESSION_VARS[] array. The PHP code were correct...

Goba
... . . .  .  .
Editor of the Hungarian PHP manual, Admin of the Hungarian PHP mirror


-- 
PHP Development Mailing List http://www.php.net/
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]