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[
"Steve Yates" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Is there a better way to test for a cookie's existence
> besides in_array()?
To perhaps clarify I should say "...test for a variable's existence..."
- Steve Yates
- To know recursion, you must