RE: [PHP-WIN] Excuse the dumb question about page stats...
| From: | Ross Fleming | Date: | Mon, 15 Oct 2001 14:43:08 +0000 |
| Subject: | RE: [PHP-WIN] Excuse the dumb question about page stats... | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-9855@lists.php.net to get a copy of this message | ||
You could use Perl or PHP to read the Apache log file to generate stats from
that. It's not too difficult. You just need to parse the log file and
count how many times a certain page appears in it. Haven't looked but I'm
sure there will be loads of scripts out there that will do it for you
Have fun!
Ross
-----Original Message-----
From: Nick Allen [mailto:nick.allen@tbwa-london.com]
Sent: 15 October 2001 10:19
To: php-windows@lists.php.net
Subject: [PHP-WIN] Excuse the dumb question about page stats...
We've a need to provide page stats so we can see what pages people are
visiting.
It is the case that every page in our web will need to be a PHP page then?
I'm not keen to do this just for page stats as it will mean additional
processing overhead but is that my only option?
I'm running PHP4.0.6 on Apache 1.3.20 for Win32.
Also - would you suggest that I simply make every page a PHP page and then
include the counter code as an include at the beginning of every page?
Thanks in advance,
Nick.
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
For additional commands, e-mail: php-windows-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net