if(!isset($HTTP_COOKIE_VARS['session_cookie'])
beachball![]()
| SitePoint Sponsor |
if(!isset($HTTP_COOKIE_VARS['session_cookie'])
beachball![]()





Well without seeing the context its sitting in I would say the first error I see is a missing parantheses on the end of the line.Originally posted by beachball
if(!isset($HTTP_COOKIE_VARS['session_cookie'])
beachball![]()
should read:
PHP Code:if(!isset($HTTP_COOKIE_VARS['session_cookie']))
Please don't PM me with questions.
Use the forums, that is what they are here for.
it was that as well
beachball
if (SID == "")
would work as well, I believe. (if you're trying to determine if a session cookie exists. it will be defined if PHP is using the session id appended after the URL (script.php?SESSID=dhjfksda...) and undefined if a cookie is used.)
Owen
Bookmarks