PDA

View Full Version : easy way to do a semi secure contact?


markstevensphot
05-26-2008, 03:11 PM
Hi folks,
I don't really want to (or know how) use php for a contact form. is there a relatively secure (just keep bots from harvesting my email and using the form to send me spam) to make a form for strict xhtml 1.0?
Also, what's anyone's opinion on just using one of the email obfuscators for the mailto: function? when it comes down to it, I don't really even need a form. i just want people to have a way to email.

gracias

binaryWeapon
05-26-2008, 03:29 PM
For contact forms, I hate it when you press submit and then a mail message pops up on your screen, and then you have to send it again. I prefer the forums where it uses a server side language to send the email without any hassle. To prevent spam, I would use a captcha (http://en.wikipedia.org/wiki/Captcha) or something else that would be obvious to humans and not robots. Another solution could be to make a hidden form field. If that gets filled out, then its a bot (a real user wouldn't find that and fill that out). However, that can have some problems with auto form-filler-outers (or whatever :rolleyes:) like google autoFill (although that might be a bad example because I believe autoFill is smart enough not to fill out hidden fields)

Even if you're just putting your email on a page, there's still a danger of a spam bot stealing it. To prevent this, you could show an image of your email, or use the annoying name [at] site [dot] com, or, my preffered way, encode your email address using this link: http://steadmantech.com/design/email_link_generator.htm.

Hope some of that helps! :)!