spamming on submit from

Out of context: Reply #3

  • Started
  • Last post
  • 10 Responses
  • justjeff0

    You could:
    - Log the IP in the database, count the number of submissions from that IP in the last 24 hours before inserting/updating.
    - Use a session variable that you set when you display the form, and unset as soon as its submitted the first time
    - Calculate a hash of the image that's uploaded, and check the hash to see if that file has already been uploaded once before.
    - Some combination of the above

View thread