| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
|
|
#1 (permalink) |
|
old romantic
Join Date: Nov 2007
Posts: 223
|
simple php contact form with spam filter
i am getting spam through my contact form and have previously used captcha but don't really like it. is there a simple php form out there that has a spam filter but doesn't need captcha or questions like 2+3? i just don't think it looks that good. i see loads of websites with forms on like: name: email: message: with no captcha or silly questions, so it must be possible. i'm sure i've seen some articles about forms with hidden fields etc. anyone know where to find one? preferably an easy one with .php file and .html form (cause i don't know how to write php for shit). oh btw i want the form on my index page and not on a separate contact page if this makes any difference. cheers in advance. |
|
|
|
|
|
#2 (permalink) |
|
What happened?
Join Date: Jul 2008
Posts: 2,196
|
Akismet is a great anti-spam service, I wrote an article on how to implement it not so long ago: On SPAM and the Akismet service | Aspektas Blog Edit: doesn't use hidden fields though, which aren't so good. Basically that just means naming the visible fields with weird names, and hidden fields with the sensible names, and if the sensible-name fields are filled out, consider it spam. |
|
|
|
#5 (permalink) |
|
Senior Member
Join Date: Mar 2009
Location: Essex, UK
Posts: 299
|
I implemented something that arties suggested, since then i haven't had 1 piece of spam (i was getting about 3 spam e-ail a day) Create a check box and style it so it is hidden. In the php form have if($check == "checked"){ then it is spam } else{ send e-mail} Its worked great for me |
|
![]() |
|