Download .zip |
Info | Documentation | View files (2) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2018-11-14 (21 hours ago) | 61% | Total: 457 This week: 245 | All time: 5,956 This week: 1 |
Version | License | PHP version | Categories | |||
online 1.0.3 | GNU General Publi... | 5 | PHP 5, User Management |
Description | Author | ||||||||||||||||
This class can get the number of users that are online in a site. Innovation Award
|
|
Every online counter need a database, This class will not use a database, SQL or NoSQL or even flat-file.
It will use PHP session file located in php.ini
session.save_path
or session_save_path();
require_once 'online.php';
echo online::who();
It will return integer of total number of online users from last IDLE TIME ago.
MAX_IDLE_TIME
to your preferred intervalsession.save_path
need to be changed, do not use default path, because it returns a count of all sessions on the server for all sitesVersion Control | Unique User Downloads | Download Rankings | |||||||||||||||
0% |
|
|
User Ratings | User Comments (1) | |||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.