PHP Classes
elePHPant
Icontem

Web Site Traffic and Pages Access: Record visits of real users to Web site pages

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (15)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2013-09-04 (3 years ago) RSS 2.0 feedNot enough user ratingsTotal: 794 All time: 4,128 This week: 872Up
Version License PHP version Categories
site-traffic-data 1.0.0Freeware5.0PHP 5, User Management
Description Author

This package can record visits of real users to Web site pages.

It can record the number of visits to Web site pages in MySQL database tables using PDO or text files. The classes can execute the queries to create the necessary database tables.

It uses PHP sessions to keep track of the different users that visit the site.

The classes use AJAX requests to detect if users are staying the pages for at least 5 seconds. This period is a configurable parameter.

Accesses performed by well known crawler robots are excluded from the accesses recorded by the classes.

The classes can list the top accessed pages and other Web site traffic statistics.

Innovation Award
PHP Programming Innovation award nominee
August 2013
Number 4


Prize: One downloadable copy of PhpED Professional
Tracking the number of users that visit the pages of Web site is a common type of application found in many sites.

Sometimes it is hard to distinguish site accesses done by real human users from robot accesses.

This class implements an approach that uses AJAX requests to validate accesses done by real human users using real browsers.

Manuel Lemos
Picture of MarPlo
Name: MarPlo <contact>
Classes: 7 packages by
Country: Romania Romania
Innovation award
Innovation award
Nominee: 3x

Screenshots  
  • siteaccess.png
  Files folder image Files  
File Role Description
Files folder imagesiteaccess (8 files)
Files folder imagestoredata (3 files)
Accessible without login HTML file readme.html Doc. Documentation
Accessible without login Plain text file siteaccess.php Appl. Includes the script classes and outputs registered data
Accessible without login Plain text file test.html Data Example script included in html file
Accessible without login Plain text file test.php Aux. Example script included in php file

  Files folder image Files  /  siteaccess  
File Role Description
  Plain text file class.BaseConn.php Class Connectes to database, and executes SQL queries
  Plain text file class.MiniTrafic.php Class Register website visits and visitors
  Plain text file class.PagesAccess.php Class Registers pages access data
  Accessible without login HTML file index.html Data Index file
  Accessible without login Plain text file lang.php Conf. Texts for the script, that can be translated in other language
  Accessible without login Plain text file siteaccess.js Data Ajax function
  Accessible without login Plain text file siteaccess_h.css Data css styles for horizontal design
  Accessible without login Plain text file siteaccess_v.css Data css styles for vertical design

  Files folder image Files  /  storedata  
File Role Description
  Accessible without login HTML file index.html Data Index page
  Accessible without login Plain text file minitrafic.txt Data Store website visits and visitors data
  Accessible without login Plain text file pgaccess.txt Data Stores pages access data

 Version Control Unique User Downloads Download Rankings  
 0%
Total:794
This week:0
All time:4,128
This week:872Up
User Comments (1)
goood
3 years ago (Rahul Shambharkar)
70%StarStarStarStar