To follow up with the group, I received an answer via e-mail within a few minutes with two methods (thanks AB).
(1) $foo = @$HTTP_COOKIE_VARS["foo"]; # Where the @ suppresses the warnings on the call. if ($foo) { } (2) The one I ended up using (modified a bit): if ((isset($HTTP_COOKIE_VARS["foo"]) and ($HTTP_COOKIE_VARS["foo"] == 'value')) { } PHP short circuits the logic so method 2 doesn't throw the error on the value test. Or of course you can put the test for the value inside the if {}. Also for environment variables you can use getenv() rather than the array. - Steve Yates - * <- Tribble. ! <- Tribble With A Mohawk. / Taglines by Taglinator 2.5 - www.srtware.com / -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php