lol. let me clarify. I am building a high-level "admin" dashboard for our app-- a pretty, clean, no-hassle interface for the execs at this company to get some numbers from their site. they want to see very clear figures like "how many people went to this key page" and "how many people clicked this important button." they don't care about visits, hits, sessions, or any of that important stuff.
I do have a fantastic stats package running on the domain (urchin) and can easily get numbers there... BUT... the spec says these numbers will appear on the nice pretty php-driven dashboard page that I am coding, not nine clicks down in urchin.
yes, I would like to just tell the execs "hey guys, you can just go into urchin and get a TON of data, all sorts of interesting things, and chop and slice it nine ways from sunday and see it however you want, and there's even pretty graphs and cool stuff," but that is not an option. I need to have this clean, simple page just report the figures on demand.
ideally, Urchin would crunch the logs for me and then just save the results someplace in a nice format that I could import in PHP and display. wouldn't that be lovely? too bad it doesn't work like that. ;-) so I'm back to playing with the logs myself.
(incidentally, I will be displaying these figures in four date ranges: today, this week, this month and total-to-date. basic log crunching.)
if apache rolls the logs daily, I could figure out how to crunch them once a day and just store my results, then I can add them up on the fly. it's a lot of absurd coding, tho, for something that should be easier. which is why I like the idea of manually dropping counters on the pages that are important: it's not nearly as efficient as going back to the apache logs, but it will be a whole lot less work to display those stats. which is all that matters in the end.
so yeah, if anyone has any better ideas, I'm all ears. it's a sort of interesting little coding job.
best
Eric