Re: detect cookies
| From: | (Miles Thompson) | Date: | Wed, 07 Mar 2001 03:14:50 +0000 |
| Subject: | Re: detect cookies | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-7157@lists.php.net to get a copy of this message | ||
Reminder - page has to be reloaded before cookie becomes visible. (or should I say is picked up by the browser.)
Use phpinfo() to double check.
Miles
At 07:51 PM 3/6/01 -0300, JJeffman wrote:
I've never used but there is a php function "get_browser()" which might do the work. I think the best way is set the cookie and try to get it again, if you can get it the user has cookies enabled. setcookie("name",value,$cookieLifeTime,$cookiePath); if($name) echo("Cookie is enabled"); HTH Jayme. -----Mensagem Original----- De: andrie <andrie@ajk.its-sby.edu> Para: <php-db@lists.php.net> Enviada em: terça-feira, 6 de março de 2001 18:34 Assunto: [PHP-DB] detect cookies Hello php-db, can i detect weather user has enable or not their cookies ? or is there any function that can read browser setup ? -- Best regards,andrie mailto:andrie@ajk.its-sby.edu-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net