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:[EMAIL PROTECTED]]
Sent: 15 October 2001 10:19
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to