Login   Register  
PHP Classes
elePHPant
Icontem

ML Log: Log Web site visitors and compute statistics

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   Screenshots Screenshots   View files View files (24)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-08-11 (7 years ago) RSS 2.0 feedStarStarStar 58%Total: 1,210 This week: 1All time: 2,893 This week: 1,478Up
Version License Categories  
ml_log 1.0GNU General Public Lice...Databases, User Management, Logging
Description Author  

This class can be used to log Web site visitors in a MySQL database and compute statistics from the logged information.

It uses sessions to destinguish each visitor. It can determine the visitors county by looking up a database table with information of the countries associated to each IP address range.

It provides functions for display the visitor log entries or a log summary of the current month, consolidating the computed information by stored in a separate table so it is faster to lookup next time the consolidated information is presented.

The log summary includes visitor count, domain count, country count, most popular country, most popular domain and most popular day of the week.

The class supports recording information of multiple sites in the same database tables.

Picture of scott barrow
Name: scott barrow <contact>
Classes: 2 packages by
Country: United States United States
Age: 44
All time rank: 1464196 in United States United States
Week rank: 1120 Up129 in United States United States Up

Screenshots  
  • ml_log_screen.jpg
  Files folder image Files  
File Role Description
Files folder imagedocs (1 file)
Files folder imageinstall (20 files)
Plain text file consolidate.php Example Example file to consolidate table records
Plain text file ml_log_example.php Example Example of Log and Display functions
Plain text file ml_log.class Class Main class file

  Files folder image Files  /  docs  
File Role Description
  Plain text file readme.txt Doc. General Notes

  Files folder image Files  /  install  
File Role Description
  Plain text file install.html Appl. Intro installation page
  Plain text file install.php Appl. Installation script for database tables
  Plain text file ml_insert-0.sql Appl. sql 0 for IP to Country mapping
  Plain text file ml_insert-1.sql Appl. sql 1 for IP to Country mapping
  Plain text file ml_insert-10.sql Appl. sql 10 for IP to Country mapping
  Plain text file ml_insert-11.sql Appl. sql 11 for IP to Country mapping
  Plain text file ml_insert-12.sql Appl. sql 12 for IP to Country mapping
  Plain text file ml_insert-13.sql Appl. sql 13 for IP to Country mapping
  Plain text file ml_insert-14.sql Appl. sql 14 for IP to Country mapping
  Plain text file ml_insert-15.sql Appl. sql 15 for IP to Country mapping
  Plain text file ml_insert-2.sql Appl. sql 2 for IP to Country mapping
  Plain text file ml_insert-3.sql Appl. sql 3 for IP to Country mapping
  Plain text file ml_insert-4.sql Appl. sql 4 for IP to Country mapping
  Plain text file ml_insert-5.sql Appl. sql 5 for IP to Country mapping
  Plain text file ml_insert-6.sql Appl. sql 6 for IP to Country mapping
  Plain text file ml_insert-7.sql Appl. sql 7 for IP to Country mapping
  Plain text file ml_insert-8.sql Appl. sql 8 for IP to Country mapping
  Plain text file ml_insert-9.sql Appl. sql 9 for IP to Country mapping
  Plain text file ml_install.class Class class file for installation
  Plain text file ml_log_mysql_create_tables.sql Appl. SQL to create database table, used by install.php

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,210All time:2,893
 This week:1This week:1,478Up
User Ratings User Comments (2)  
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:58%StarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:58%StarStarStar
Rank:1006
 
Excellent
4 years ago (kishore kumar)
80%StarStarStarStarStar
in several sql 'insert' scripts the startIP and end IP are ex...
5 years ago (Paul)
40%StarStarStar