Reply Thread Tools Search this Thread
Old 12-09-2009, 21:15   #1 (permalink)
dcice
old romantic
 
dcice's Avatar
 
Join Date: Nov 2007
Posts: 278
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.
  Reply With Quote
Old 13-09-2009, 07:39   #2 (permalink)
Synook
What happened?
 
Synook's Avatar
 
Join Date: Jul 2008
Posts: 2,159
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.
__________________
Web developer • AspektasBlogTwitter


  Reply With Quote
Old 13-09-2009, 10:20   #3 (permalink)
dcice
old romantic
 
dcice's Avatar
 
Join Date: Nov 2007
Posts: 278
ok, cheers for that.
  Reply With Quote
Old 13-09-2009, 13:47   #4 (permalink)
Prash
 
Prash's Avatar
 
Join Date: Dec 2008
Posts: 791
If you don't want to use a captcha, you could just send the information to a database, including the ip address, and not allow message from that IP address after say 30 minutes or something...
__________________
Fixee | My Blog | Top Quality Hosting

.titanic{float: none;}
  Reply With Quote
Old 13-09-2009, 22:48   #5 (permalink)
taylormsj
Senior Member
 
taylormsj's Avatar
 
Join Date: Mar 2009
Location: Essex, UK
Posts: 297
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
  Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive
vBulletin © 2000-2009 Jelsoft Enterprises Limited.
Search Engine Optimization by vBSEO 3.0.0 RC8