On Thursday 04 April 2002 01:04, R. Lindeman wrote:
> okay i'll explain a bit
>
> i want my sessions to store some values but instead of storing them their
> doing nothing at all here's some code
>
> // beginning of registering of values
>
> session_start();
>
> session_register("fu");
> session_register("bar");
>
> $fu    =    "fu";
> $bar  =    "bar";
>
> // end of registering values
>
> //getting values
>
> $fu  = $HTTP_SESSION_VARS["fu"];
>
> echo $fu;
>
> //end of getting values

If you are using PHP > 4.06 then try:

$fu = $_COOKIE["fu"];

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk

/*
What I want to find out is -- do parrots know much about Astro-Turf?
*/

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

Reply via email to