PDA

View Full Version : forms question



Lethal1983
03 Aug 2007, 12:20 AM
Hi All
Im fairly new to web design so please forgive me.

Im using dreamweaver to develop a site which is in html.

I have made a form which is going to be used for a booking request which i want sent to an email address. Ive heard that people can use your form to send spam so i dont want this to happen either

What is the easiest way to do this, keeping in mind that im new to this

Thanks for your help

Wickham
03 Aug 2007, 01:12 AM
To avoid spam you can either use PHP to send from data to a database (probably a bit too complicated for a beginner) or use Formmail
http://www.email-form.com/?gclid=CN_x3PzV2I0CFQralAodA26BYA
Form Processor Pro is secure and spam-proof,

http://www.email-form.com/overview.html
which says:-
Works with any HTML / web form
Anti-bot and SPAM protection with CAPTCHA new

or you can use Javascript to "mung" the email address (Mash Until No Good) which breaks the email address into bits and re-assembles at the viewer's browser so that spam bots don't pick it up.
The principle of this is shown here, but I haven't tried it with a form although I believe it is possible:-
http://www.wickham43.supanet.com/tutorial/generaladvice.html#emailaddresses

edit............

This link
http://www.accessifyforum.com/viewtopic.php?t=6534&postdays=0&postorder=asc&start=15&sid=4172a230b28777120a792f1584a43c7a
seems to imply that a contact form is safer; it means that the email address is not supplied in the form. I'm not quite sure what they mean, but I think they are saying that a form which asks the viewer to read and copy images with letters into a validation box is required so that human action is necessary which a spam spider can't do. Google "contact forms" for code.

Here's code to set up a database which will also avoid spam to your email address:-
http://www.wickham43.net/formphptomysql.php