Re: setcookie warning?
| From: | Camelia Enderby | Date: | Thu, 23 May 2002 12:25:16 +0000 |
| Subject: | Re: setcookie warning? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-19371@lists.php.net to get a copy of this message | ||
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" <dave@davecarrera.com>
To: "php-list" <php-db@lists.php.net>
Sent: Thursday, May 23, 2002 1:07 PM
Subject: [PHP-DB] setcookie warning?
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 List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php