You should use sessions. All you have to do is call session_start() at
the beginning of your code. Then, any variable you want to save to the
session, you simply use:

$_SESSION["name"] = $name;

Then, on the next page, call session_start() again, and you'll have the
value of $name from the previous page in the variable

$_SESSION["name"]

It's a little different if you're not using PHP 4.2, so read the manuals
on sessions...

---John Holmes...

> -----Original Message-----
> From: Glenn Sieb [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, May 11, 2002 7:57 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Serialize/URLencode query...
> 
> I'd like to pass a bunch of variables to another PHP page for
processing
> there... I think serialize() and urlencode() will do what I'm looking
> for..
> can I pass multiple strings through this? I'm also not clear on how I
can
> decode the separate strings out...
> 
> Can someone point me in the right direction?
> 
> Thanks, everyone!
> Glenn
> 
> ---
> The original portions of this message are the copyright of the author
> (c)1998-2002 Glenn E. Sieb.    ICQ UIN: 300395    IRC Nick: Rainbear
> "All acts of Love and Pleasure are Her rituals"-Charge of the Goddess
> 
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php



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

Reply via email to