April 2nd, 2007

How to build & process a simple contact form in PHP

More or less every business website has a contact page and contact form. Rather than manually building the form and processor and all fields with HTML and PHP, it would be so simple just to have a PHP class that does all that for you. And it would be really nice if it included automatic form validation. Well, I've found exactly that class, to process a contact form for a site.

This is how it works: It picks the submitted values of a contact form and validates the name, phone number, e-mail address and the message that the site users have entered.

The class also composes and sends an e-mail message to send to the site contact address with the details entered in the contact form.

Here's the link.

Share

One Response to ' How to build & process a simple contact form in PHP '

Subscribe to comments with RSS or TrackBack to ' How to build & process a simple contact form in PHP '.

  1. gill said,

    on April 12th, 2007 at 9:47 pm

    vcxz

Leave a reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word