PHP Classes
elePHPant
Icontem

PHP User Step Logs: Record the pages a user accesses in a database

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2015-04-30 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 173 All time: 8,152 This week: 785Up
Version License PHP version Categories
user-step-logs 1.0GNU General Publi...5HTTP, PHP 5, User Management, Logging
Description Author

This class can record the pages a user accesses in a database.

It can take the identifier of a the current user, probably already logged in or the respective session identifier, and stores a record in a database table along with other details of the current user access.

The class stores the current request page URI, the URL of the previous page from the referrer header when present, the request query string, request parameters for POST requests, and the current date and time.

An auxiliary class accesses the configured database using PDO.

  Performance   Level  
Name: Ettore Moretti <contact>
Classes: 11 packages by
Country: Italy Italy
Innovation award
Innovation award
Nominee: 3x

  Files folder image Files  
File Role Description
Files folder imagecore (3 files)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file table_export.sql Data Auxiliary data

  Files folder image Files  /  core  
File Role Description
  Plain text file Database.class.php Class Class source
  Plain text file UserStepLogs.class.php Class Class source
  Accessible without login Plain text file UserStepLogs.config.php Conf. Configuration script

 Version Control Unique User Downloads Download Rankings  
 100%
Total:173
This week:0
All time:8,152
This week:785Up