Zend - The PHP Company




Code Gallery: morrison


Simple Text Counter using DBM  

Type: class
Added by: morrison
Entered: 08/04/2000
Last modified: 08/12/1999
Rating: - (fewer than 3 votes)
Views: 6809
This is just your basic text counter for keeping track of page hit counts. It uses dbm for storing and retrieving its hit counts. This counter does not limit the counting by IP or anything of the sort, it just increments the counter on a page every time that page is loaded. You can set up a hit count on a page-by-page basis, or have a single counter for the entire site. Examples are given on usage.




Search