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


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

Reply via email to