Jump to content

Hard for me, might be easy for you. Please help!


ZaksHQ

Recommended Posts

So, I got a site and I'm using stat counters and stuff like that. I'm trying to create code that will give me the average unique hits/pages loaded a day, and stuff like that.

 

My idea is to create 3 variables. 1 for the unique hits total. 1 for the days since the site's been up. And the last one is what I want to post on the site, and it's simply unique hits total divided by the days the site's been up.

 

I simply don't know how I'd do that though. The unique hits total is on the pages already, I just need to make the variable grab it from there. Also, I need to create a variable the raises by 1 everyday, for the 2nd variable I mentioned.

 

So, I just haven't had any practice with PHP, and haven't used it at all. Please help me  :-\

its the forum where to can offer some form of payment in exchange for someone creating it for you,

freelance forum

 

considering your request isn't asking for how to fix your code it seams you want someone write it for you..

 

if your writing the code yourself, then you could make the request unique, by grouping by IP or something (maybe even a cookie) nothing will be 100%

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.