![]() |
Examples
Hi all,
Just wondering if anyone would be able to post some example code for checking if a user is logged in. I've not too much experience in PHP OOP but am happy to learn from examples. Cheers. |
PHP Code:
|
Quote:
Does vB not have a specific function for checking if a user is logged in then? |
you can use
PHP Code:
|
ragtek, I'm guessing I need to include global.php and would use the above like:
PHP Code:
Found it ;) And yeah, I was right ;) |
Thanks, really helpful!
|
All times are GMT. The time now is 10:11 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:
|