Re: Re: Changes in Sessions (PHP Versions)
| From: | Yasuo Ohgaki | Date: | Tue, 05 Feb 2002 22:08:57 +0000 |
| Subject: | Re: Re: Changes in Sessions (PHP Versions) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-83643@lists.php.net to get a copy of this message | ||
Trun off "register_globals", then it should work with track vars.
--
Yasuo Ohgaki
Travis Simpson wrote:
Hey, I changed it from: $HTTP_SESSION_VARS["$key"] = $value; To: session_register("$key"); $key = $value; And now it works fine. At first, when I wrote the $key = $value... It made no sense... I was just doing it because I didn't know what else to try. And it actually works ;) I figured it would set the variable $key to the value of $value. But it didn't. It created a new variable. Naming it the value of $key. And giving that new variable the value of $value. Does this confuse anybody else?? ;) Thanks for all your help, -Travis_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com