PHP Classes

giCounter: Keep track of page visitors using text files

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 279 All time: 7,627 This week: 660Up
Version License PHP version Categories
gicounter 1.0GNU General Publi...3User Management
Description 

Author

This class can be used to keep track of the number of page visitors using text files.

It uses text files to store page visit counts.

Each time a user visits a page the class adds or updates an array entry that counts the number of visits to that page. The array is serialized and store in a text file.

The class reads the text file and unserializes the array to get the count of visited site pages.

Picture of Giulio Bai
Name: Giulio Bai <contact>
Classes: 8 packages by
Country: Italy Italy
Age: 34
All time rank: 31911 in Italy Italy
Week rank: 193 Up9 in Italy Italy Up

  Files folder image Files (2)  
File Role Description
Accessible without login Plain text file giCounter.php Class The main class file
Accessible without login Plain text file example1.php Example Example #1

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:279
This week:0
All time:7,627
This week:660Up