Login   Register  
PHP Classes
elePHPant
Icontem

Simple Hit Counter: Count the number user accesses using files

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Brent Rossen
Name: Brent Rossen <e-mail contact>
Packages: 4 Browse all classes by Brent Rossen Browse all classes by
Country: United States United States - PHP jobs in United States
Age: 32
All time rank: 1076140 in United States United States
Week rank: 420 Up46 in United States United States Up


  Detailed description   Download Download .zip .tar.gz  
This class can be used to count the number user accesses using files.

It stores in one text file the list of the IP addresses of all users that access the site, in another file the number of unique visitors and the total number of accesses in another file.

The class can also retrieve each of the counts from the files.

  Classes of Brent Rossen  >  Simple Hit Counter  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple Hit Counter
Base name: simple-counter
Description: Count the number user accesses using files
Version: -
PHP version: 3.0
License: Freeware
All time users: 391 users
All time rank: 5834
Week users: 0 users
Week rank: 1792 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Files and Folders Listing, accessing and manipulating files and folders View top rated classes


  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageincludes (3 files, 1 directory)
Accessible without login Plain text file example_output.html Output Example output

  Files  /  Files folder image includes  
File Role Description
Files folder imagecounterfiles (3 files)
  Plain text file counter.php Class Class file which handles the counting of hits/ips and can be queried for results
  Accessible without login Plain text file include_counter.php Example File to include on your page to count the hits
  Accessible without login Plain text file viewcounter.php Example Example page to view the hit results

  Files  /  includes  /  Files folder image counterfiles  
File Role Description
  Accessible without login Plain text file count.txt Data File that stores the count of unique ips on the page
  Accessible without login Plain text file hits.txt Data The file to store the total number of hits
  Accessible without login Plain text file ips.txt Data The file to store the ip addresses

Download Download all files: simple-counter.tar.gz simple-counter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.