![]() |
php and vB cookie question
Hi!
I'm developing a page outside vB that I want to display if the user is logged in or not. If he is logged in, display a log out link, and if he is not, display a logging form (username and password fields). I thinks I can do this reading the cookie that vB uses to see if it has a userid on it, but I don't know how to do this. Any idea would be great. Thanks |
Ok, let me see if asking the question a little more specific.
I need to check vB cookie to see if it has a user logged in. For example, for doing this Lets say $user_logged returns a true or false if the user cookie has an userid logged. PHP Code:
|
All times are GMT. The time now is 01:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|