Guest_imported
New member
- Jan 1, 1970
- 0
Hello, all.
I really need help on a IP flood check code for my script. I need it to make a row into my table 'flood' and delete the row after 5 minutes, or whatever the scripts control panel option is set to. Also, for it to only allow ONE IP address for a row, so if they refresh with the same IP and the scripts attempts to add another row, instead of adding one with the same IP, it won't add the row.
I'll do the rest from there, by checking if an IP exists in a row, and then displaying an error message.
Thanks in advance.
-William
I really need help on a IP flood check code for my script. I need it to make a row into my table 'flood' and delete the row after 5 minutes, or whatever the scripts control panel option is set to. Also, for it to only allow ONE IP address for a row, so if they refresh with the same IP and the scripts attempts to add another row, instead of adding one with the same IP, it won't add the row.
I'll do the rest from there, by checking if an IP exists in a row, and then displaying an error message.
Thanks in advance.
-William