I need this script modified.
Right now it creates totals by adding info from each user visit, this is slow and has created a huge database. I would prefer that the database create new entries for each tracked domain, and then added to the totals. I still want to keep all the values.
The 24 hours stats are based on the last 24 hours time frame. I want it changed, so that daily totals are based on the time in between running a reset file that will set daily totals to 0. I will run this …