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_...FQralAodA26BYA
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/tut...emailaddresses
edit............
This link
http://www.accessifyforum.com/viewto...792f1584a43c7a
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
Last edited by Wickham; 03 Aug 2007 at 03:29 AM.
Code downloaded to my PC will be deleted in due course.
WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.