PHP Classes

What is the best PHP user online counter class?: How to display of visitors on site

Recommend this page to a friend!
  All requests RSS feed  >  What is the best PHP user online coun...  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

What is the best PHP user online counter class?


Picture of mzer terungwa by mzer terungwa - 8 years ago (2015-04-08)

How to display of visitors on site

This request is clear and relevant.
This request is not clear or is not relevant.


I need a a script that enables me and site visitors to see how many unique visitors or guests that are currently viewing my web site.

It will also report visitors and guests viewing individual posts.

The script will also keep a record of and display the most users ever online at once within a date.

The script is to be used on a custom built PHP and MySQL CMS.

Ask clarification

1 Recommendation

PHP Google Analytics API: Get site access statistics from Google Analytics

This recommendation solves the problem.
This recommendation does not solve the problem.


Picture of Manuel Lemos by Manuel Lemos Reputation 23295 - 8 years ago (2015-08-16) Comment

There are many classes for this purpose but most of them are old because this type of site usage is not very interesting because it consumes to much server resources once the sites get busy.

This class uses the Google Analytics API instead to get site and page access statistics over time. Just install Google Analytics HTML in your site pages and your problem will be better solved.

Recommend package