On Friday, Sep 5, 2003, at 08:58 US/Eastern, Hutchins, Richard wrote:
"If you wish to assign multiple values to a single cookie, just add []
to
the cookie name. "
So if you wanted to set one cookie to hold all of your items, you
should be
able to setcookie("items[]", item1), setcookie("items[]",
n before and usually only set a cookie or two for last visit date,
last page visited, that kind of stuff.
Like I said, this is my best guess as to what your problem may be. Hope it
helps.
Rich
> -Original Message-
> From: Ohlson Stefan [mailto:[EMAIL PROTECTED]
> Sent: Friday,
Hi!
(I'm using php3 on an apache-server)
I'm doing lika a shoppingcart where the user can put items.
By some reason, when I use setcookie, I can only save between 14-17 posts.
Example:
setcookie("items", item1);
setcookie("items", item2);
...
setcookie("items", item17);
After this it will n
the third parameter of setcookie id the expiry time, so it doesn't like "/",
either take it off or give it a proper time.
Cami
- Original Message -
From: "Dave Carrera" <[EMAIL PROTECTED]>
To: "php-list" <[EMAIL PROTECTED]>
Sent: Thursday, M
I get this warning with setcookie
Warning: setcookie() expects parameter 3 to be long, string given
But the cookie works ok
this is the line setting the cookie
setcookie("selarea",$gotarea,"/" );
any ideas
i am using php 4.2
Thanks in advance
Dave C
--
PHP Database Mail