PHP Classes

phpHitCounter: Log and display the number of site user visits

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-04-30 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,295 This week: 1All time: 2,802 This week: 1,225Up
Version License Categories  
hc 1.0GNU Lesser Genera...Statistics, User Management
Description Author  

phpHitCounter is a class that can that can logs and display the number of users that visited a site.

The count of hits is stored in one file. The log of the visitors IP address and access time can be optionally recorded in another file.

The class can display an hit count either using images or text digits.

Feature List:

- Simple Hit Counter with just three lines of code
- Two modes of operation: image or text based
- Logging visitor IP address and access time to be able to count the number of unique visitors
- Theme support for displaying image based hit counters

Picture of Vedanta Barooah
Name: Vedanta Barooah <contact>
Classes: 11 packages by
Country: United States United States
Age: 34
All time rank: 466 in United States United States
Week rank: 206 Down21 in United States United States Down
Innovation award
Innovation award
Nominee: 2x

Winner: 2x

  • screenshot.gif
  Files folder image Files  
File Role Description
Files folder imagedocs (2 files)
Files folder imageexamples (5 files)
Plain text file comments.txt Data comments, changelog
Plain text file hitcounter.class.php Class Main Class Source
Plain text file README Doc. Read Me First

  Files folder image Files  /  docs  
File Role Description
  HTML file manual.html Doc. Class Reference
  Plain text file stylesheet.css Data Style Data

  Files folder image Files  /  examples  
File Role Description
  Plain text file sample1.php Example Example 1
  Plain text file sample2.php Example Example 2
  Plain text file sample3.php Example Example 3
  Plain text file sample4.php Example Example 4
  Plain text file sample5.php Example Example 5

 Version Control Unique User Downloads Download Rankings  
 0%Total:1,295All time:2,802
 This week:1This week:1,225Up