Can you use my above values to show me what you are talking about?

"Matt M." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > <?
> > setcookie("cookie[name]","$_POST['name']", time()+86400)
> > setcookie ("cookie[email]","$_POST['email']", time()+86400)
> > setcookie ("cookie[bgcolor]","$_POST['bgcolor']", time()+86400)
> > setcookie ("cookie[tcolor]", "$_POST['tcolor']", time()+86400)
> >
> > ?>
>
>
> you could try this:
>
> setcookie ('values', serialize($_POST), time()+86400);
>
> then when you want to retrieve it use
>
> $values = unserialize($_COOKIE['values']);

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

Reply via email to