Re: cvs: php4(PHP_4_0_7) /ext/standard var.c

From: Date: Sat, 01 Dec 2001 16:11:18 +0000
Subject: Re: cvs: php4(PHP_4_0_7) /ext/standard var.c
References: 1 2 3 4  Groups: php.cvs 
Request: Send a blank email to php-cvs+get-8356@lists.php.net to get a copy of this message
Sebastian Bergmann wrote: > "Thies C. Arntzen" wrote: >> bug id# ? > > Not available, since I told this Sascha and Zeev directly on IRC and > by mail. Here the mail I sent to them. Zeev fixed this in HEAD with the two most recent patches to http://cvs.php.net/cvs.php/php4/ext/session/session.c Environment: PHP 4.2.0-dev (current HEAD from CVS) as CGI, Win32. This works <?php ini_set('register_globals', 0); session_register('foo'); echo ++$_SESSION['foo']; ?> while this does not <?php ini_set('register_globals', 1); session_register('foo'); echo ++$_SESSION['foo']; ?> Why is $_SESSION not populated when register_globals is on? -- Sebastian Bergmann http://sebastian-bergmann.de/ http://phpOpenTracker.de/ Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/

« previous php.cvs (#8356) next »