Jump to content

[SOLVED] prevent spamming


Taxa

Recommended Posts

On my site, I have added a form which can be submitted on the press of a button. I realised that the user can click the button hundreds of times sending the same information over and over again to the server. Is there a button type, or way that I can prevent people from spamming the server by repeatedly hitting the submit button?

 

Also, is there a way to prevent the user to press refresh when the form has processed? Preventing the resend information window to pop up?

Link to comment
https://forums.phpfreaks.com/topic/108795-solved-prevent-spamming/
Share on other sites

You can setup a time algorithim to only allow repeated postings from the same IP address within so many seconds.. try pressing refresh and posting multiple times on phpfreaks :)

 

Just testing this haha

 

Edit : i dint know it did that. haha never tried to spam this site b4 lo.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.