hey everyone, i am writing some classes that need to have access to cookie variables but i don't seem to be able to access them ($HTTP_POST_VARS['cookie']) is there something special i have to do?
a few things:
cookies are stored in $HTTP_COOKIE_VARS
you need to do 'global $HTTP_COOKIE_VARS' if you want to use it inside a function (including class methods)
you can use the Superglobal $_COOKIE without the need for the global statement
hth moon
doh, yeah i meant cookie_vars... i will give the global thing a try
thanks,
ben
ahhh, yes - superglobal worked. thanks again.