PHP Classes

Classes of Markus Fensterer

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Markus Fensterer (1)  >  Mission progress status  >  Reputation  
Picture of Markus Fensterer
Name: Markus Fensterer <contact>
Classes: 1
Country: Germany Germany
Age: 35
All time rank: 2278141 in Germany Germany
Week rank: 178 Up12 in Germany Germany Up
All time users: 1071
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image Little Counter  
Keep track of user accesses to site pages in MySQL
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
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 66% 75% - 83% - - 49% 2882
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z