So I have an image uploader, and I want to create a minimal bot protection. My table structure looks like this:
| ID | uploader_ip | image_name | image_url_id | date
------------------------------------------------------
| 1 | 127.0.0.1 | bla.jpg | fsdJGf | UNIX Timestamp (UPDATE ON: Create)
I want to check if there are more or exactly 50 images/rows, that were created in less or exactly two minutes.
How can I do that?