Skip to main content.

Free Who's Online PHP Script by Mike Challis

What does it do?
This advanced PHP script is designed to be a webmaster tool for your PHP template web site. It uses a MySQL database to track web site visitors online from the last 15 minutes. You can see what pages they click on. It has features like IP address, host lookup, online time, city, state, country, geolocation maps and more. Nothing is permanently logged except for a few records.

What does it look like?
You can see it in use on my Who's Online page. My page is password protected to protect my user's privacy, but there is a screenshot.jpg included in the download. See the geolocation maps on my Who's Online Maps page.

How use it?
Just download the file, follow the step by step instructions, then upload it to your web server. Please refer to the readme-install.txt file in the download zip file for install instructions.

Some of the many features include:


Inspired by the osCommerce contribution "Who's Online Enhancement".
Thanks to all the WD forum users who contributed ideas and code.
Uses GeoLite data created by MaxMind, available from

Download it: [download] | [version change log] | [discuss]

More Weather PHP Scripts


If you find this site or the free PHP scripts useful to you, please consider making a small donation to help offset my time and the routine expenses of operation of this website. Thanks for your kind support! - Mike Challis

This php code provided "as is," and Long Beach Weather (Michael Challis) disclaims any and all warranties, whether express or implied, including (without limitation) any implied warranties of merchantability or fitness for a particular purpose. Use of this code signifies your acceptance.