I need to read a cookie that was set as
setcookie ("foo-bar","foobar");
if I echo the cookie
echo ("$foo-bar");
the result is:
-bar
How can I read this cookie?
echo ${'foo-bar'} -- use curlys around var name
OR
echo $HTTP_COOKIE_VARS['foo-bar']
hope this helps
perfect. thanks