PHP Members Logged In Count
Posted on 2009-05-13
Given that I have a working login function which verifies against a database, I would like a simple counter on my login page that shows:
Members Logged In : 9
Every time the login is successful, a global variable should be incremented. When the user logs out or the user's session dies, this global variable should decrement also.