im setting cookies in the file: portal/pages/index.php
the cookies is being set as:
setcookie("scbmxrider", "$user", time()+3600, '/portal/');
and im trying to retrieve the cookie data in portal/index.php
im just using:
if (isset($HTTP_COOKIE_VARS["scbmxrider"])) { blah blah
the problem is the cookie is not being read in portal/index.php, i know it is being set cause i checked the cookies folder on my computer. what am i doing wrong? and what do i need to do to make it read the cookie?
thanks