I am having PHP version issues, some show HTTP_COOKIE_VARS as empty, others show $_COOKIE as empty.
Is there a way to toggle/test if one (or the other) is empty, and use it's counterpart?
I know I could duplicate an IF empty check,
IE
if empty $COOKIE (http_cookie_vars)
if empty $http_cookie_vars ($COOKIE)
but the script is written to use $HTTP_COOKIE_VARS at the moment
and id like to do something like :
check if $HTTP_COOKIE_VARS is empty (if so register HTTP_COOKIE_VARS as $_COOKIE)
if such a thing was possible?
thanks!