I usuallly use if ( isset($_COOKIE["Name"]) ) { ..... }
But if there have any output before this code I use ob_start(); your output... if ( isset($_COOKIE["Name"]) ) { ..... } ob_end_flush(); "Webmaster Mbt" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > 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? > > EJB > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php