RE: [PHP] Re: Changes in Sessions (PHP Versions)

From: Date: Tue, 05 Feb 2002 20:02:03 +0000
Subject: RE: [PHP] Re: Changes in Sessions (PHP Versions)
Groups: php.general 
Request: Send a blank email to php-general+get-83628@lists.php.net to get a copy of this message
This suggests that register_globals was set to 'off' in the first case and 'on' in the second case. The lines below are perfect examples of how to change the code when changing the register_globals setting in php.ini. Kirk > -----Original Message----- > From: Travis Simpson [mailto:travis@etrafficsolutions.com] > Sent: Tuesday, February 05, 2002 12:08 PM > To: php-general@lists.php.net > Cc: 'Yasuo Ohgaki' > Subject: RE: [PHP] Re: Changes in Sessions (PHP Versions) > > > Hey, > > I changed it from: > > $HTTP_SESSION_VARS["$key"] = $value; > > To: > > session_register("$key"); > $key = $value; > > And now it works fine.

« previous php.general (#83628) next »