I really need to know something...
My forums are in the /forums directory of my website.
When a visitor visits my index.php (the first page of my website), which is NOT inside the /forums directory, how can I make it check IF the user is logged into my forums?
I need a way to check the cookies or something.
IF the user is online{
echo "you are logged in (username of member)";
}
else
echo "You are not logged in!";
how can I do that? PLEASE, I really need this help!
Please give me a full, hopefully working code!