Login   Register  
PHP Classes

Class: Access Pattern Counter

Icontem
elePHPant

  Classes of Richard Munroe  >  Access Pattern Counter  >  Download  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Access Pattern Counter Support forum
Base name: accesspatterncounter
Description: Count page accesses and show the count in HTML
Version: -
Required PHP version: -
License: GNU General Public License (GPL)
 
  Author   Group folder image Groups   Detailed description  
  Dependencies   Applications   Files Files  

Author

Picture of Richard Munroe
Name: Richard Munroe <e-mail contact>
Published packages: 22 Browse this author's classes Browse this author's classes
Country: United States United States - PHP jobs in United States
Home page: http://www.csworks.com/

Groups

Group folder image Statistics Collecting, processing and reporting statistical data View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

Detailed description

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.

Packages needed by this class

Class Dependency Why it is needed
DB
Required
SQLData

Applications that use this class

Link Description
Florida Democratic Party Website for the Florida Democratic Party
Add link image If you know an application of this package, send a message to the author to add a link here.

Files

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
Plain text file counter.example.php Example Example of counter class usage
Plain text file counter.sql Data Create MySQL tables
Download all files: accesspatterncounter.tar.gz accesspatterncounter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.