PHP Classes
elePHPant
Icontem

counter visits class: Record site visits in 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 (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2004-09-17 (10 years ago) RSS 2.0 feedStarStarStar 43%Total: 2,188 All time: 1,686 This week: 1,557Up
Version License Categories  
counter 1.0GNU General Publi...Databases, Statistics, User Management
Description Author  

This class is meant to record the number of site user visits in a MySQL database table.

The class provides a function for incrementing the number of visits in the current day. It should be used in conjunction PHP sessions to prevent counting more than one visit of the same user in the same day.

The class also provides functions for retrieving the total number of visits for all time, today or some other specific day.

Picture of Mario Enrique López Guzmán
Name: Mario Enrique López ... <contact>
Classes: 1 package by
Country: Guatemala Guatemala
Age: 35
All time rank: 12801 in Guatemala Guatemala
Week rank: 1757 Down1 in Guatemala Guatemala Equal

  Files folder image Files  
File Role Description
Accessible without login Plain text file config.inc.php Conf. Database parameters
Plain text file counter.class.php Class Main class
Accessible without login Plain text file index.php Example Main example
Accessible without login Plain text file install.txt Doc. Install notes
Accessible without login Plain text file statics.sql Data SQL script to create the table

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,188All time:1,686
 This week:0This week:1,557Up
 User Ratings  
 
 All time
Utility:50%StarStarStar
Consistency:60%StarStarStarStar
Documentation:60%StarStarStarStar
Examples:60%StarStarStarStar
Tests:-
Videos:-
Overall:43%StarStarStar
Rank:2088