Hey all,
just put together a simple PHP5 application the other week to serve up password protected Webalizer stats, since I found the default Plesk method of HTTP authenticated pages using the same username/password as that of the FTP login a little limiting for my needs.
http://magnetikonline.com/webalizerphp/
The script basically is a pass though for webalizer pages that are stored outside of your webpaths. In addition the script reformats the HTML 4.01 generated by webalizer to produce lighter XHTML output, which is then styled using CSS.
Look forward to any comments, good or bad.
Webalizer PHP for serving up Webalizer webstats
-
- Forum User
- Posts: 30
- Joined: Sun Nov 26, 2006 5:31 pm
It's a little belated, but I only recently discovered webalizerphp. I can't believe there have been no responses to your post.
I think it is a nifty solution to the limitations of Plesk stats access or even just to get the Webalizer pages looking smarter and running cleaner!
The only improvement or addition I would suggest is the inclusion of extended pages for url_*.html, site_*.html, agent_*.html details.
Other than that, spot-on. Did you have any plans to continue updates?
I think it is a nifty solution to the limitations of Plesk stats access or even just to get the Webalizer pages looking smarter and running cleaner!
The only improvement or addition I would suggest is the inclusion of extended pages for url_*.html, site_*.html, agent_*.html details.
Other than that, spot-on. Did you have any plans to continue updates?
-
- Forum User
- Posts: 30
- Joined: Sun Nov 26, 2006 5:31 pm
Thanks for the comments - no plans at the moment to upgrade the application.
One idea I did have, for some reason webalizer only links to the last 12 months of stats pages on the home stats page - I thought about possibly reading in all stat months from disk and then displaying the full totals list on the stats homepage - but if/when I get around to this I am not sure..
Just curious, were you able to get the application running for yourself successfully?
One idea I did have, for some reason webalizer only links to the last 12 months of stats pages on the home stats page - I thought about possibly reading in all stat months from disk and then displaying the full totals list on the stats homepage - but if/when I get around to this I am not sure..
Just curious, were you able to get the application running for yourself successfully?
-
- Forum User
- Posts: 30
- Joined: Sun Nov 26, 2006 5:31 pm
Not sure how many people noted this, but Brad decided to put out another Webalizer release in June - I really thought it was the end of the road for Webalizer!
The new release kills quite a few bugs, plus adds GeoIP looks (rather than reverse DNS lookups), flag images for countries the ability to have more than 12 months on the stats index page (finally!) and some minor styling changes.
I have posted a new version of Webalizer PHP - 0.2, which takes into account these changes if anyone is interested @ http://magnetikonline.com/webalizerphp/
For the record, was able to get Webalizer to compile from source on my CentOS 4.5 Plesk 8.1 box, only needed to fetch the libpng headers/etc. and it was all smooth sailing. The binary release didn't seem to play ball...
The new release kills quite a few bugs, plus adds GeoIP looks (rather than reverse DNS lookups), flag images for countries the ability to have more than 12 months on the stats index page (finally!) and some minor styling changes.
I have posted a new version of Webalizer PHP - 0.2, which takes into account these changes if anyone is interested @ http://magnetikonline.com/webalizerphp/
For the record, was able to get Webalizer to compile from source on my CentOS 4.5 Plesk 8.1 box, only needed to fetch the libpng headers/etc. and it was all smooth sailing. The binary release didn't seem to play ball...