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

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

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.