High traffic website: Log & Hitcounter
Posted: Thu Feb 23, 2012 7:52 am
Hey.
I have a quite high traffic website, around 200 users constantly browsing the site and up to 200k pageviews per day.
I'd like make full log of the page visists and have a hitcounter for some pages.
I made a simple php script that reads/writes hit value from files. The file got constantly corrupted or something similar and the counter started from 0 again.
I'm still quite beginner with php.
What is the best way to make a hit counter for such a high traffic page?
And how about the logs?
I have a quite high traffic website, around 200 users constantly browsing the site and up to 200k pageviews per day.
I'd like make full log of the page visists and have a hitcounter for some pages.
I made a simple php script that reads/writes hit value from files. The file got constantly corrupted or something similar and the counter started from 0 again.
I'm still quite beginner with php.
What is the best way to make a hit counter for such a high traffic page?
And how about the logs?