PHP Classes
Icontem

Class: Little Counter


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Markus Fensterer  >  Little Counter  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Little Counter Support forum
Base name: littlecounter
Description: Keep track of user accesses to site pages in MySQL
Related top rated classes:
Version: -
Required PHP version: -
License: Freeware
All time users: 777 users
All time rank: 2916
Week users: 1 user
Week rank: 3858
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Markus Fensterer
Name: Markus Fensterer <e-mail contact>
Published packages: 1 Browse this author's classes Browse this author's classes
Country: Germany Germany - PHP jobs in Germany
Home page: http://www.marce23.de/
Age: 20
All time rank: 1718
Week rank: 1928

Groups

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image User Management User records, authentication and session handling View top rated classes

Detailed description

This is a simple class that keeps track of the accesses of users to the pages of a site using a MySQL table to record the user access hits.

The class connects to the MySQL database and records in the counter table the IP address of the user accessing the site and the current time. The class assumes that each IP address corresponds to one user.

The class is also able to query the counter table and retrieve:

1) The total number hits
2) The total number of visits
3) The number of users, which are online. A user is considered to be online if he has accessed to the site within a period of time defined by the class variable online time.
4) The number of hits of one user during the last 24 hours

User ratings

Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (66.7%)
Sufficient (75.0%)
-
Good (83.3%)
-
-
Not sure (49.2%)
1363
Month:
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

File Role Description
Plain text file database.inc.php Conf. database configuration file
Plain text file example.php Example example script
Plain text file littleCounter.php Class littleCounter class
Download all files: littlecounter.tar.gz littlecounter.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products