Log in

View Full Version : How can I check if a user is logged in, out side the forums?


dynamot
09-12-2007, 07:21 PM
Hi All,

I have a website say http://www.test.com
The forums are under http://www.test.com/forums/

I have a page called http://www.test.com/index.php.
In this page I want to check to see if somebody has logged into the forums. If logged in, I want to display "You are logged in", if not "You are not logged in".

Is there a cookie check or script I can use to check this?

fyi: I am at beginner level in php

Any help or suggestions are appreciated...

Tx