![]() |
Checking user logged in or not
Hi,
1) I want to add a php file with some fields which user should fill up and save on our database. 2) I have to check whether user is currently logged in or not. If yes then user will be able to see the php page otherwise not. 3) I have to retrieve userid and email from "user" table 4) Finally all the details with userid, email will be saved on a new table. Thanks in advance. Regards, Samser |
Here a basic example
PHP Code:
|
Thanks for reply!
is this code would work for both version 3.0.3 and 3.6.1? I think no. because I have tested in 3.0.3 but it's not working. First, I have to include header and footer of vBulletin with my script. Secondly, I need to check whether user is logged in or not Then I have to retrieve username, email from database. Eearly reply is appretiated. Regards |
All times are GMT. The time now is 02:22 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:
|