Current version: 0.28 - released 2009-11-09
Page last updated: 2010-01-07
Webalizer PHP is a PHP5 application designed to serve up password protected web stats generated by the popular Webalizer.
In addition the application reformats the default HTML of Webalizer stats through a rather complex series of regular expressions to produce valid and lighter XHTML output which is then styled via CSS. This produces pages that are typically 30-50% smaller than their originals, largely due to the replacement of deprecated <font>, <strong> and related tags with class/id attributes.
It also functions nicely with the excellent Geolizer HTTP stats patch, which adds better quality location/country based stats using the GeoIP API library, flag icons for countries and displays file sizes in (bytes/KB/MB/GB/TB) instead of the default kilobytes.
Webalizer PHP was originally written to get around Plesk's default Webalizer password protection method of HTTP authentication, with usernames/passwords that are identical to their respective FTP login - which is not always ideal. The ability to repurpose the default Webalizer HTML was a nice bonus.
If you have any questions, comments, or possible improvements please contact me.
The initial login page will now automatically place the browsers cursor into the "username" field on page load.
With the release of Webalizer version 2.21-02, handy yearly statistic totals have been added to the usage index page. Webalizer PHP 0.24 fixes a few XHTML validation issues with pages generated using these new totals.
Fixed a minor bug where a webalizer stat page opening <html> tag was not being replaced to be XHTML compliant.
Added a character encoding meta tag to generated page headers.
After almost 7 years, Webalizer sees a welcome new official release in June 2008 - version 2.20-01.
A good number of bug fixes have been made, plus some great new features including GeoIP country support, PNG flags in reports and the ability to list more than 12 months of reports on the index stats page.
I have put together a new 0.2 release of Webalizer PHP which works with this new release (including flag support) and the previous 2.01-10 release. Changes were very minor - only some tweaking to Webalizer's HTML report output.