Läst ordentligt i dokumentationen för setcookie()? Prova buta ut $HTTP_COOKIE_VARS mot $_COOKIE.
Citat:
Originally posted by Preserved variables@PHP Documentation
$HTTP_COOKIE_VARS contains the same initial information, but is not an autoglobal. (Note that HTTP_COOKIE_VARS and $_COOKIE are different variables and that PHP handles them as such)
|
Läs mer:
setcookie()
$_COOKIE