News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPBuilder.com:
Email Forms in PHP
August 23, 2007 @ 10:14:00

A new tutorial on PHPBuilder.com gives a quick look at creating a form combining HTML and PHP that can send out emails to the address of choice.

Like any email form, the original form itself is quite simple. No great shakes here, just a standard HTML form with a POST method and the action pointing to the PHP page that will process the form results.

Included in the short tutorial are the HTML for the form, the PHP to process the email information from the form and the code to send it all out.

It's also important to note that they defined the email address to send it to in the PHP code handling the POST request. If you allow your user to define the email address, you're begging for spammers to come around and abuse it.

3 comments voice your opinion now!
email tutorial form html post beginner email tutorial form html post beginner


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Zend Framework Blog App Tutorial - Addendum #2: Revised Design, Date Helper

Jeroen van Dijk: Multi-select faceting in Solr with Solarium

PHPMaster.com: Inversion of Control - The Hollywood Principle

Lineke Kerckhoffs-Willems' Blog: How to use the Symfony2 SonataAdminBundle

Qandidate.com: Debugging PHP applications with HHVM


Community Events

Don't see your event here?
Let us know!


yii2 podcast conference application framework composer interview project api list php7 language community series opinion symfony part2 example laravel introduction

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework