PHP Classes

Page Counter: Display a graphical page hit counter

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (23)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 60%Total: 2,044 This week: 1All time: 1,920 This week: 560Up
Version License Categories
dwi-hit-counter 1.0The PHP LicenseHTML, Graphics, User Management
Description 

Author

This class can be used to display a graphical page hit counter.

It read, update and stores the page hit counts in text files.

The counter is displayed a sequence of HTML tags for images that represent each digit of the current page hit count.

The counter digits may display trailing zeros. The width and height of the digit images can also be configured.

The class comes with a set of digit image files but it can also be configured to use a set of the digit files from custom image directory.

New features are "Triger Page" the counter will only increment on a single page, but can be viewed on all pages.
3-D style border for use with borderless digits, gives the impression the whole counter is a single image.

Picture of Russell Nash
  Performance   Level  
Name: Russell Nash <contact>
Classes: 3 packages by
Country: United Kingdom
Age: 49
All time rank: 55030 in United Kingdom
Week rank: 416 Up15 in United Kingdom Up

Screenshots  
  • screen_shot.jpg
  Files folder image Files  
File Role Description
Files folder imageimages (1 directory)
Accessible without login Plain text file changes.txt Doc. summary of changes made
Accessible without login Plain text file example.php Example example script
Plain text file hit-counter.php Class class file

  Files folder image Files  /  images  
File Role Description
Files folder imagecounter (2 directories)

  Files folder image Files  /  images  /  counter  
File Role Description
Files folder imagealt_digits (10 files)
Files folder imagedigits (10 files)

  Files folder image Files  /  images  /  counter  /  alt_digits  
File Role Description
  Accessible without login Image file 0.gif Icon alternate 0 digit
  Accessible without login Image file 1.gif Icon Alternate 1 digit
  Accessible without login Image file 2.gif Icon alternate 2 digit
  Accessible without login Image file 3.gif Icon Alternate 3 digit
  Accessible without login Image file 4.gif Icon Alternate 4 digit
  Accessible without login Image file 5.gif Icon Alternate 5 digit
  Accessible without login Image file 6.gif Icon Alternate 6 digit
  Accessible without login Image file 7.gif Icon alternate 7 digit
  Accessible without login Image file 8.gif Icon Alternate 8 digit
  Accessible without login Image file 9.gif Icon Alternate 9 digit

  Files folder image Files  /  images  /  counter  /  digits  
File Role Description
  Accessible without login Image file 0.gif Icon counter digit
  Accessible without login Image file 1.gif Icon counter digit
  Accessible without login Image file 2.gif Icon counter digit
  Accessible without login Image file 3.gif Icon counter digit
  Accessible without login Image file 4.gif Icon counter digit
  Accessible without login Image file 5.gif Icon counter digit
  Accessible without login Image file 6.gif Icon counter digit
  Accessible without login Image file 7.gif Icon counter digit
  Accessible without login Image file 8.gif Icon counter digit
  Accessible without login Image file 9.gif Icon counter digit

 Version Control Unique User Downloads Download Rankings  
 0%
Total:2,044
This week:1
All time:1,920
This week:560Up
 User Ratings  
 
 All time
Utility:78%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:70%StarStarStarStar
Examples:71%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1100