Personal Projects and Mucking Around

© Luke Wallin 2005-2017

Open Source PHP Hit Counter

Latest release is version 1.7.9.4 on 31st January 2009. Note that this is not an efficient piece of code - hence why live statistics are currently disabled on this page now I am using a Raspberry Pi to host the website.

hit count

example stats

The counter detects unique hits using cookies and IP addresses. If a browser has no cookie set and an unseen IP, it counts as a unique hit. It also attempts to detect which browser and Operating System you are using, and uses this to create some statistics about the users of your website.

The latest stable version (1.5.5) should work on most servers now, all the bugs I could find have been fixed and it runs on PHP 4. The very latest version is 1.7.3 which includes better unique hit detection (cookies) and pie charts.