Login   Register  
PHP Classes
elePHPant
Icontem

Simple Hit Counter

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Brent Rossen  >  Simple Hit Counter  >  Download .tar.gz .zip  >  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
Related classes: , , , , , ,
Version: -
PHP version: 3.0
License: Freeware
All time users: 332 users
All time rank: 5520
Week users: 0 users
Week rank: 2364
 

  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: 31
All time rank: 1114152 in United States United States
Week rank: 705 Up68 in United States United States Up


  Detailed description  
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.

  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)
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
  Plain text file include_counter.php Example File to include on your page to count the hits
  Plain text file viewcounter.php Example Example page to view the hit results

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

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.