Forum Moderators: phranque
i have a contact form on a site that uses captcha image verification script to stop automated submissions & spammers. But for reason i'm still get masses of submissions with the bot using the word <Default> to submit!
Can anybody advsie to why this is happerning and what would e the best prevention to stop these automaed bot- submitting info like a million times a day!
please advise
I have not delved into captchkas because most of the sites I work with have many MANY forms and it presents too many extra steps for the end user, to many places to lose valuable leads. I mention this because you should use the same methods this forces me into: screen your input data.
Invariably you will find a pattern in this spam input that you can block, that is, a lot of them now are pharm links: [ url=whatever] and <url=whatever>. So unless you have a really good reason for allowing your users to enter html and forum style links, you can kill this data on input:
if ($yourdata =~ /$spamlink/) { &exit_without_satisfaction; }
That's perl, re-code in the language of your choice. Admittedly this is a short term solution, the real answer lies in logging all data input from your forms, looking for patterns, and at worst start banning IP's.