Re: A PHP page counter / statistics app
| From: | Guy Haynes | Date: | Fri, 28 Feb 2003 21:19:28 +0000 |
| Subject: | Re: A PHP page counter / statistics app | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-137628@lists.php.net to get a copy of this message | ||
Take a look here http://www.unf.edu/~hayg0001/php/pagetracker.php. I have a script that you can use as a starting point. It is nothing fancy, but it works. Every thing is stored in a database, where I can then produce real time reports for the site.
~Guy Haynes
Michael Zornek wrote:
I'm ether looking to find or build my own open source php based script, that would allow you to include a small code chunk on every page of a site and then view statistics from the info, on what pages were viewed, how many times, etc... First, if there are any you know of and want to recommend, please post. Secondly, if I do build it myself would it be better to write this log to file or mysql db? Right now I only get like 200 page views a day but still am concerned about resource use since I'm on a shared server. Finally, can you call a php script from an ServerSideInclude page?? ~ Mike