Page 1 of 1

check for cookie

Posted: Thu Mar 22, 2007 4:59 pm
by benyboi
is there a way to check for a phpbb3 cookie?

i use

Code: Select all

$ref=($_SERVER['HTTP_REFERER']);
to check referer but also need to check cookie to see if someone is logged in?

thanks

Posted: Thu Mar 22, 2007 5:16 pm
by Kieran Huggins
there's a ton of phpbb integration stuff out there - there are many examples on Google.

Posted: Fri Mar 23, 2007 7:54 am
by aaronhall
Namely, $_COOKIE, only if the phpbb installation exists on the same domain (and probably directory) from which you are checking its cookie.