click counter help

Discussion in 'PHP' started by michael19, Feb 12, 2011.

  1. #1
    Hello,
    im looking for this script but i cant find it anywhere and i dont know php

    im looking for a click counter that displays clicks for the visitors and in administration (which can be edited)
    people can click the link every 24 hours for it to count.

    any help?

    thanks
    Michael
     
    michael19, Feb 12, 2011 IP
  2. Lam3r

    Lam3r Active Member

    Messages:
    235
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #2
    Lam3r, Feb 12, 2011 IP
  3. michael19

    michael19 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I see we got a smarta** over here. As you can see i wrote that i have been looking but couldnt find any. I used more search engines than you even know that exist.

    Youre telling me to use google thinking im a newbie or something yet look at the quality of your answer. google? come on! thats not what i was looking for!

    But thanks ;)
     
    michael19, Feb 13, 2011 IP
  4. lukefowell89

    lukefowell89 Peon

    Messages:
    182
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I wrote something similar before for an online competition, in which they were only allowed to enter once every 24 hours. This cant really be done accurately but I logged their IP Address along with date and time, then put a condition that it would only allow them to enter or put any entry in if the current date and time is less than 24 hours than the last time they entered.

    You could use the same idea but instead of letting them enter, just incremement a database counter value by one each valid click
     
    lukefowell89, Feb 14, 2011 IP