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 not
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, September 05, 2003 8:33 AM
To: [EMAIL PROTECTED]
Subject: [PHP-DB] setcookie
Hi!
(I'm using php3
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[],
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 Mailing