News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

New Earth Online:
Detecting Users Online
January 02, 2007 @ 14:42:00

From the New Earth Online website, there comes this new tutorial for showing the current number of people browsing your website.

After recently having seen a way of showing the number of people currently visiting your site by recording IP address I thought I'd demonstrate my own way of doing it that also includes the ability to show which users online, and number of users/guests online.

They briefly explain the goal of the script and touch on another tool for WordPress that does a similar thing, but this solution would work for any site. The rest of the post is the code for the feature that uses a database table to keep track of users online (via insert/update/deletes).

0 comments voice your opinion now!
detect users online count guest example detect users online count guest example


blog comments powered by Disqus

Similar Posts

Rob Allen: Global installation of PHP tools with Composer

David Otton's Blog: Neat PHP Tricks: How To Assign References to Globals

Mike Potter's Blog: Another Flex / PHP e-Seminar July 17th

Jani Hartikainen's Blog: Closures coming in PHP 5.3 and thatís a Good Thing

Refulz Blog: Traits in PHP 5.4 - Why we need Traits


Community Events











Don't see your event here?
Let us know!


release series unittest framework podcast overview package hack security language component introduction opinion install composer application facebook code hhvm symfony2

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework