setcookie warning?
| From: | Dave Carrera | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | setcookie warning? | ||
| Groups: | php.db php.db | ||
| Request: | Send a blank email to php-db+get-19368@lists.php.net to get a copy of this message | ||
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