number of logged in users?

A

Anonymous

Guest
Hello,

My webpage has a log in system, now I want to know how to make a script where you can view the number of logged in users (count sessions or something??) and where you can see if a user is logged in. e.g.

User: P3x (logged in, currently visiting bla bla)

Any ideas on how to accomplish this would be appreciated.

P3x
 
You can use global variables if you want, create an array of users and display

Hope that works
 
problem isnt = how to display vars
problem is - where store vars and how analize.
best (IMHO) way use Sesions and MySQL (or onother DB)
 
Back
Top