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

Reply via email to