Login   Register  
PHP Classes
elePHPant
Icontem

Smart Counter: Count site visitors using a MySQL database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-08-24 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,597 All time: 2,270 This week: 1,541Up
Version License Categories  
smart_counter 1.0GNU General Public Lice...Databases, User Management
Description Author  

This class can be used to count the number of visitor of a site using a MySQL database table.

It can keep track of the total visitors of a site, visitors of a given page, visitors in the current day and the active visitors (access in the last 5 minutes).

The visits of users of the same IP address are only counted after ending a given period of time (20 minutes by default).

The visitis statistics are stored in two MySQL database tables with configurable names. The class can also create these tables if they do not exist already.

Picture of Vagharshak Tozalakyan
Name: Vagharshak Tozalakyan <contact>
Classes: 28 packages by
Country: Armenia Armenia
Age: 35
All time rank: 61 in Armenia Armenia
Week rank: 22 Down1 in Armenia Armenia Equal
Innovation award
Innovation award
Nominee: 7x

  Files folder image Files  
File Role Description
Plain text file smart_counter.class.php Class Class Source
Accessible without login Plain text file test.php Example Sample

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,597All time:2,270
 This week:0This week:1,541Up