PHP Classes

Mini Traffic Site: Record site accesses in a database using PDO

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 336 All time: 7,085 This week: 425Up
Version License PHP version Categories
mini-traffic-site 1.0Freeware5.0PHP 5, Databases, Statistics, User Ma...


This class can record site accesses in a database using PDO.

It can record the access of the current user in text file or in a MySQL database table to which it connects using the PDO extension.

The class can analyze the user agent and avoid recording accesses performed by known search engines and other robots.

The class can also display the statistics of accesses in a Web page like th number of site visits, unique visitors in the current and previous day, number of online users considering accesses in the last minute, as well top statistics of visit, visitors and users online.

Picture of MarPlo
Name: MarPlo <contact>
Classes: 7 packages by
Country: Romania Romania
Age: ???
All time rank: 80317 in Romania Romania
Week rank: 703 Up14 in Romania Romania Up
Innovation award
Innovation award
Nominee: 3x

  • minitrafficsite.jpg
  Files folder image Files  
File Role Description
Files folder imageminitraff (2 files)
Plain text file minitrafic.php Class file with the php class
Accessible without login HTML file Read.html Doc. Instructions to install the class
Accessible without login HTML file test.html Data Test file with using the script in html document
Accessible without login Plain text file test.php Data Test file with using the script in php file

  Files folder image Files  /  minitraff  
File Role Description
  Accessible without login HTML file index.html Data Index file in directory that store traffic data
  Accessible without login Plain text file minitrafic.txt Data Stores the traffic data

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,085
This week:425Up