Re: [PHP-DB] setcookie warning?

2002-05-23 Thread Camelia Enderby

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" <[EMAIL PROTECTED]>
To: "php-list" <[EMAIL PROTECTED]>
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



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[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 List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php