How can i tell whos online, more importantly, how can i see if they've left?
I can easily use PHP and mysql to log everyone who views a page, but how can i tell when they leave?
So, add their IP and username to database when a page is loaded, but they would need to be removed when they left.
This can be done using a log-out page, then deleting them from the database, but i don't want them to appear online if their not.
Thanx
I can easily use PHP and mysql to log everyone who views a page, but how can i tell when they leave?
So, add their IP and username to database when a page is loaded, but they would need to be removed when they left.
This can be done using a log-out page, then deleting them from the database, but i don't want them to appear online if their not.
Thanx