Taxa Posted June 5, 2008 Share Posted June 5, 2008 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 More sharing options...
beboo002 Posted June 5, 2008 Share Posted June 5, 2008 Apply captcha in your form to prevent spaming Link to comment https://forums.phpfreaks.com/topic/108795-solved-prevent-spamming/#findComment-558093 Share on other sites More sharing options...
dsaba Posted June 5, 2008 Share Posted June 5, 2008 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 Link to comment https://forums.phpfreaks.com/topic/108795-solved-prevent-spamming/#findComment-558274 Share on other sites More sharing options...
beansandsausages Posted June 5, 2008 Share Posted June 5, 2008 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. Link to comment https://forums.phpfreaks.com/topic/108795-solved-prevent-spamming/#findComment-558425 Share on other sites More sharing options...
Taxa Posted June 6, 2008 Author Share Posted June 6, 2008 I installed recapture, its perfect! Thanks beboo002 Link to comment https://forums.phpfreaks.com/topic/108795-solved-prevent-spamming/#findComment-558933 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.