Addressed to: "Dallas Kropka" <[EMAIL PROTECTED]>
[EMAIL PROTECTED]
** Reply to note from "Dallas Kropka" <[EMAIL PROTECTED]> Sun, 14 Jan 2001
00:57:10 -0600
>
>
> I have a large site, with several hundred pages.... its a product
> listing and shopping cart.... and I want to log my page views.... I
> receive an average of 3000 hits per minute.
>
> Is it better (faster) to log my views to a database table? or to a
> flat file?
No need to re-invent the wheel, all accesses are already being logged.
If you are using Apache, take a look at the access log. Every hit to
the server is already logged there. I am not sure what the default
location for the file is, but you can find it with
locate access_log
or by looking for the string Log in your httpd.conf file. I believe
it may appear under either the AccessLog or CustomLog keywords.
You might want to look at Webalizer, or a couple of other programs to
analyze the contents.
http://www.mrunix.net/webalizer/
There are others, but this is the one I use.
Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com
--
PHP General 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]