Forum Moderators: phranque

Message Too Old, No Replies

contact form

contact form programming

         

xman187

1:18 pm on Dec 9, 2007 (gmt 0)

10+ Year Member



I'm currently building a website which is going to have a contact form. Im pretty comfortable with building the contact form and styling it but i wanted to ask how to make the form programmable so the users can submit comments and such properly. Can someone point me to right direction on programming a form or a script of some kind. Any help is greatly appreciated.

xman

[edited by: phranque at 12:20 pm (utc) on Jan. 18, 2008]
[edit reason] no URLs [/edit]

kaled

3:11 pm on Dec 9, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



What technology are you using, plain html, php, etc.?
Do you plan to use field verification? If yes, on the client using javascript or on the server using with php or perl etc.?
Do you plan to use a captcha system to defeat spammers?

If you want to keep it simple, you can create a basic form, verify it with javascript and submit it with a formmail program to an email address of your choice. Does this sound acceptable?

Kaled.

neemtree

1:10 am on Dec 12, 2007 (gmt 0)

10+ Year Member



I generally advocate reuse of software, instead of rebuilding it. Unless this is more of a programming excercise, your time (and results) will be better spent using Drupal (http://drupal.org) or Wordpress (http://wordpress.org) which provide contact forms and comments, with CAPTCHA spam filters, out of the box.