PHP Classes

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    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 827 All time: 4,175 This week: 114Up
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
Age: ???
All time rank: 80117 in Romania Romania
Week rank: 312 Up3 in Romania Romania Up
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:827
This week:0
All time:4,175
This week:114Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1716
 
goood
10 years ago (Rahul Shambharkar)
70%StarStarStarStar