Or, using $HTTP_COOKIE_VARS (deprecated, replaced with $_COOKIE ):