RE: [PHP] How to detect if a cookie is set?

From: Date: Fri, 21 Mar 2003 23:54:59 +0000
Subject: RE: [PHP] How to detect if a cookie is set?
Groups: php.general 
Request: Send a blank email to php-general+get-140650@lists.php.net to get a copy of this message
> Hi I'm trying to make a script that first figures out if a > cookie is set, if > not,do this, if so, do that. > > Can I use: > > Isset($HTTP_COOKIE_VARS['nick'] or what should I use? Yes. If you have PHP 4.1.0 or higher, you can also use the recommended $_COOKIES['nick']. Kirk

« previous php.general (#140650) next »