PHP Classes

Online Visitors Count: Keep track of the current site number of visitors

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,444 All time: 2,712 This week: 78Up
Version License PHP version Categories
visitors 1.0GNU General Publi...4Statistics, User Management
Description 

Author

This class can be used to keeep track of the current site number of current visitors.

It uses the IP address of the visitor accessing the site to keep track of the visit in a MySQL database.

The class can return the number of visitors still active by default for the last 5 minutes.

Picture of Alfredo Sanchez
Name: Alfredo Sanchez <contact>
Classes: 2 packages by
Country: Philippines Philippines

  Files folder image Files (4)  
File Role Description
Plain text file class.visitors.php Class Online Visitors Class
Plain text file class.database.php Class database wrapper from POG
Accessible without login Plain text file sample.php Example Sample Code
Plain text file configuration.php Conf. Configuration file used to connect to the database

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,444
This week:0
All time:2,712
This week:78Up