PHP Classes

PHP Online Users: Keep track of site visitors

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,241 All time: 3,074 This week: 170Up
Version License PHP version Categories
online_users 1.0.0GNU General Publi...4.4User Management


This class can be used to keep track of the users visiting a site.

It starts a session for each new user visiting a site and stores the user session identifier in a MySQL database.

The class can update the last visit time and remove user records that have not visited the site since a given time limit.

Picture of Moazam
Name: Moazam <contact>
Classes: 1 package by
Country: United Kingdom
Age: ???
All time rank: 207793 in United Kingdom
Week rank: 503 Up18 in United Kingdom Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file online.class.php Class Class responsible for tracking online users
Accessible without login Plain text file README Conf. Setup Instructions
Accessible without login Plain text file test.php Example Demo file

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,074
This week:170Up
User Comments (1)
This is really mess
14 years ago (winxalex)