PHP Classes

Access Pattern Counter: Count page accesses and show the count in HTML

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
StarStar 37%Total: 1,562 All time: 2,527 This week: 99Up
Version License Categories
accesspatterncounter 1.0GNU General Publi...Statistics, User Management
Description 

Author

This package is meant to keep track of the count of users access to the pages of a site. The counter class can also output the current access count in an HTML table.

Page accesses are considered by the remote user computer IP address only if sufficient time has passed, by default one hour. During this access window, a count is kept of the accesses to the page by a specific ip address.

This allows possible detection of denial of service attacks by keeping data useful for tracking access patterns by specific hosts.

All data is kept in a MySQL database.

This class is officially compatible with PHP 5.

Picture of Richard Munroe
Name: Richard Munroe is available for providing paid consulting. Contact Richard Munroe .
Classes: 22 packages by
Country: United States United States
Age: 73
All time rank: 112 in United States United States
Week rank: 170 Down21 in United States United States Down
Innovation award
Innovation award
Nominee: 3x

Winner: 1x

  Files folder image Files (4)  
File Role Description
Plain text file class.counter.php Class Class interface for page counter
Plain text file class.counterUser.php Class Access pattern counter class
Accessible without login Plain text file counter.example.php Example Example of counter class usage
Accessible without login Plain text file counter.sql Data Create MySQL tables

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
Downloadaccesspatterncounter-2006-06-12.zip 4KB
Downloadaccesspatterncounter-2006-06-12.tar.gz
Install with ComposerInstall with Composer
Needed packages  
Class DownloadWhy it is needed Dependency
DB Download .zip .tar.gz SQLData Required
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,562
This week:0
All time:2,527
This week:99Up
 User Ratings  
 
 All time
Utility:45%StarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:37%StarStar
Rank:4033