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:[EMAIL PROTECTED]]
> Sent: Tuesday, February 05, 2002 12:08 PM
> To: [EMAIL PROTECTED]
> 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to