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  :-\

Link to comment
Share on other sites

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%

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.