View Single Post
  #6  
Old 21 Aug 2011, 17:43
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
Well, with that scheme you'd have one table with just ip and time, and when someone clicked you'd do the check then if it passes, append to the table. I just reread your first post and now I realize that you don't want to count up total clicks there or use it to award the prize, just to control how often someone clicks (you *did* say that before...).

I don't know exactly how your "email us" page works, so I'm not sure where to tell you to put the check. If you're submitting a form you could check when the form is submitted. If you're just trying to control access to that page you could have a php script that does the check and either displays the page or an error message. (I may be able to post some actual code when I understand it a little more).
Reply With Quote