I seem to have hit on a simple way to prevent or at least greatly reduce the amount of spam generated by having a mail form or a comment form on your website.
Sure you can use a CAPTCHA but there are inherent problems with them - and I find them a little annoying if I'm honest.
The method I have adopted is to create a field on the form with the label "Leave this blank".
If the field is filled in (as it will be by a bot that just completes every field) then I tag the mail as spam.
So far I've had 100% success with no false positives.
It's always going to trip up now and again but so far, so good. Simple and effective!
Tek-Tips Forums is Member Supported. Click Here to donate
<honk>*:O)</honk>
Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.
Sure you can use a CAPTCHA but there are inherent problems with them - and I find them a little annoying if I'm honest.
The method I have adopted is to create a field on the form with the label "Leave this blank".
If the field is filled in (as it will be by a bot that just completes every field) then I tag the mail as spam.
So far I've had 100% success with no false positives.
It's always going to trip up now and again but so far, so good. Simple and effective!
Tek-Tips Forums is Member Supported. Click Here to donate
<honk>*:O)</honk>
Tyres: Mine's a pint of the black stuff.
Mike: You can't drink a pint of Bovril.