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   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 56%Total: 828 All time: 4,177 This week: 660Up
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: 79817 in Romania Romania
Week rank: 200 Up2 in Romania Romania Up
Innovation award
Innovation award
Nominee: 3x

Screenshots (1)  
  • siteaccess.png
  Files folder image Files (16)  
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 (16)  /  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 (16)  /  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

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
 Version Control Unique User Downloads Download Rankings  
 0%
Total:828
This week:0
All time:4,177
This week:660Up
User Ratings User Comments (1)
 All time
Utility:81%StarStarStarStarStar
Consistency:81%StarStarStarStarStar
Documentation:81%StarStarStarStarStar
Examples:-
Tests:-
Videos:-
Overall:56%StarStarStar
Rank:1739
 
goood
11 years ago (Rahul Shambharkar)
70%StarStarStarStar