R: [PHP] cookie not there but isset(cookie)=true ?
| From: | (Delbono) | Date: | Fri, 13 Oct 2000 09:39:37 +0000 |
| Subject: | R: [PHP] cookie not there but isset(cookie)=true ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-19971@lists.php.net to get a copy of this message | ||
$cookie is just the variable..
do you have a line like this?
$cookie = ....
if so, $cookie is set (even if it's empty-)
-----Messaggio originale-----
Da: hentis@twilyt.com <hentis@twilyt.com>
A: PHP list <php-general@lists.php.net>
Data: venerdì 13 ottobre 2000 11.12
Oggetto: [PHP] cookie not there but isset(cookie)=true ?
>Hi all
>
>I have a problem with cookies.
>
>I've checked my cookie file .. and the cookie it not there .. but if I do
>
>if (isset($cookie)){
> print"cookie set";
>}else{
> print"cookie not set";
>}
>
>I get cookie is set ...
>
>is there a better way to check if the cookie is there or not ?
>
>Henti
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
>For additional commands, e-mail: php-general-help@lists.php.net
>To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>