Simple Contact Form

Hello,

I have been searching for awhile, and to my frustration have been unable to find a simple form mail script. I want to incorporate it on every page of my site in the left hand column (see: http://www.triallawyersofarizona.com).

I don’t need anything fancy, just an email sent off to me with the data and a redirect that I can specify a URL to after form submission.

Any help is greatly appreciated.

Thanks,
Jon

This tutorial is about as simple as it can get.

Sweet! I will give it a shot! Thanks!

Jon,

Be aware the code in the previous post does not validate or sanitize input, & could therefore allow malicious or simply useless input to get through.

Proper form design should:

  1. Validate client-side first (e.g., thru JavaScript)
  2. Provide useful, real-time feedback for input errors
  3. Validate a second time on the server-side (e.g., thru PHP)