![]() |
how to: In php, check if a specific member is online?
hi, i'm guessing i'm not the first person to ask for this, but i can't find it or figure it out.
thanks in advance. i have a php page (non-vb). I want to connect to the VB DB and know if a specific user is online or not? where I KNOW the member I want to check. I have access via php to connect to the VB DB. I want to know if a member is logged into VB or not. ---------- or ---------- i have a VB template I created and can use VB code, but I don't understand how to do it? all the code i've seen, is checking the CURRENT user logged in, but i need to know if a specific user/member is logged in/ online. THANKS! |
Have a look inside the session table.
|
Quote:
It'll return either 1 = online, 0 = offline, 2= hidden. |
thank you both, that is what I needed!
|
All times are GMT. The time now is 10:01 PM. |
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:
|