Stats for php mirror by webalizer
| From: | Sebastian Zavadschi | Date: | Fri, 12 Dec 2008 23:12:30 +0000 |
| Subject: | Stats for php mirror by webalizer | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-36937@lists.php.net to get a copy of this message | ||
Hi there!
Can anyone explain to me, how to force webalizer do not print his own html code and print only the code from the php?
My config file has been modified just a little bit, in order do not get warnings about sending headers after they were sent already (Warning: Cannot modify header information - headers already sent by...)
Here it is: http://md.php.net/stats/php.conf
You can take a look at the generated source:
http://md.php.net/stats/
also, the sourcecode for index.php
http://md.php.net/stats/index.php.txt
The cron job:
00 * * * * (cd /stg/www/data/stats/php.net;/usr/local/bin/webalizer -wc php.conf) >/dev/null 2>&1Many thanks and greetings from Moldova!