PDA

View Full Version : Need a counter script


Hypo
08-27-2001, 04:42 AM
I need an efficient counter script that does not consume the whole server CPU. Anyone have any suggestions? On over 200K a day my own scripted counter eats up CPU like hell. I use mysql database.

Is there any inexpensive invisible counter service hosted on their own server?

What I really need is a counter script that shows all the pages and their hits separately daily, so domain1.com/htmla and domain2.com/htmlb would show up separately with their daily stats using the same counter, plus I need the last 3 referrers for each page. My script does that but is really CPU hungry.


My stats should look something like this -


MONDAY 5:37 AM

TOTAL HITS = 65055

http://domain/page2.html 16500 (25045)
.... www.book-mark.net/mark.html (http://www.book-mark.net/mark.html)

http://domain3.page3.html 14100 (24100)
.... www.thumbnailpost.com/today.html (http://www.thumbnailpost.com/today.html)
.... www.best-of-all.net/links.html (http://www.best-of-all.net/links.html)
.... thumbnailpost.com/today.html

http://domain2.pagea.html 12300 (16400)
.... www.thumbzilla.com/main.html (http://www.thumbzilla.com/main.html)
.... thumbzilla.com/main.html
.... www.wildsmut.com/ (http://www.wildsmut.com/)

etc.