PHP Classes

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

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,443 All time: 2,714 This week: 131Up
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
Age: ???
All time rank: 145517 in Philippines Philippines
Week rank: 280 Up3 in Philippines Philippines Up

  Files folder image Files  
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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,443
This week:0
All time:2,714
This week:131Up