Protect count the same IP - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Protect count the same IP

hello

I'd like to develop a counter that prevents
the person who keeps reloading the browser to
count it..

Like keeping the IP and during 24hs this IP doesn't
count in the DB.. only in the other day he can
count again




Comments

  • bagles1bagles1 Posts: 54Member
    Well if you have an IP already in the database just check to see if it is there, the time it was recorded and if it meets your criteria check update it, if it doesn't then don't update it.... ? Not sure what the question was, but that is pretty simple to solve. :oP

    -Bagles1

    : hello
    :
    : I'd like to develop a counter that prevents
    : the person who keeps reloading the browser to
    : count it..
    :
    : Like keeping the IP and during 24hs this IP doesn't
    : count in the DB.. only in the other day he can
    : count again
    :
    :
    :
    :
    :

Sign In or Register to comment.