PHP Classes

Simple Users Online: Keep track of the users online in a database

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 55%Total: 2,837 All time: 1,323 This week: 238Up
Version License Categories
usersonline 1.0.0Freely DistributableStatistics, User Management
Description Author

This class is meant to keep track of the users currently accessing a site.

The class stores the unique IP addresses of each users online in a database. The class tries to determine the real IP address of uses behind proxy servers.

The class also performs the maintenance task of deleting all the records of user IP addresses that are stored before a given timeout period specified in a class variable.

The class count the number of user accessing the site by counting the number of unique user IP address records currently stored in the database.

Picture of Ilir Fekaj
Name: Ilir Fekaj <contact>
Classes: 2 packages by
Country: Serbia Serbia
Age: 44
All time rank: 3913 in Serbia Serbia
Week rank: 563 Down5 in Serbia Serbia Down

  Files folder image Files  
File Role Description
Accessible without login Plain text file usersOnline.class.php Class class file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:1,323
This week:238Up
 User Ratings  
 All time