![]() |
|
|
Thread Tools |
|
#1
|
||||
|
||||
|
let's say I have a php file named chat.php, is their a way I can do a who's online type thing, that shows which users are currently viewing that php file?
No members have liked this post.
|
|
#2
|
||||
|
||||
Thats the basic PHP to count all the active sessions that have chat.php in the location, the total will be stored in $number['views']
__________________
Lee Botley, BSc (Hons) - vBulletin.org Moderator http://www.thesistersthree.com/lee/sigs/signature.ts3 The Sisters Three Charmed Discussion Forums WinterDir .:. vBindex v2.1 for vB2 .:. vBindex v3.0.0 RC5 for vB3 No members have liked this post.
|
||||
|
#3
|
||||
|
||||
|
I think he wanted to list the viewers names instead of a count.
![]() No members have liked this post.
|
|
#4
|
||||
|
||||
|
yeah names, and put it in the what's going on box(I can figure that much out) it is definatley a start(getting the total number of ppl) but it would be cool to be able to list the users viewing the chat.php
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 04:06.



