I came across
this nifty code that grabs data from webalizer stats, and displays it to the public so you do not have to let people into cPanel.
I wanted to use it here in my
s9y blog, but it wasn't working as a php-script-include. Thankfully,
Garvin Hicking came to the rescue, and after his modifying the script a few times and testing it out, he made it into a Serendipity Plug-in.
You can follow the
thread here.
You can now view the stats for my blog here: Stats Page
You can download the Serendipity plugin here:
serendipity_event_cpanel.zip
If you don't use
Serendipity (
you really should), but have Webalizer stats on your host and would like to display them for your public, you can download the script here:
webalizer_stats.php.zip
Open the scriptin your favorite editor and edit the following lines to suite your needs:
$GLOBALS['cp_user'] = 'user'; // cpanel username
$GLOBALS['cp_pass'] = 'password'; // cpanel password
$GLOBALS['cp_url'] = 'yourdomain.com'; // do not include 'http://'
Any problems with it, just contact me and I'll try and help you sort it out.
Again, a big thank you to
Garvin for his time and work in making this plugin work.
Long live S9Y!