[PHP-DB] setcookie

2003-09-05 Thread Ohlson Stefan
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

RE: [PHP-DB] setcookie

2003-09-05 Thread Hutchins, Richard
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

Re: [PHP-DB] setcookie

2003-09-05 Thread Parker Morse
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[],

[PHP-DB] setcookie warning?

2002-05-23 Thread Dave Carrera
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