[TUT] How To Make a Contact Form - Printable Version +- Support Forums (https://www.supportforums.net) +-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87) +--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18) +---- Forum: PHP The Hypertext Preprocessor (https://www.supportforums.net/forumdisplay.php?fid=21) +---- Thread: [TUT] How To Make a Contact Form (/showthread.php?tid=2736) |
[TUT] How To Make a Contact Form - zone - 11-09-2009 When you need user send feedback to your email you can usecontact form. In this tutorial you'll learn how to create contact form with php script. Overview if you want to test on you own computer you must set your computer as a mail server by using Argosoft mail server or relate software. read this tutorial In this tutorial you have to create 2 files 1. contact.php 2. send_contact.php Step 1. Create file contact.php. 2. Create file send_contact.php. Create file contact.php View In Browser This file has the following code: PHP Code: <table width="400" border="0" align="center" cellpadding="3" cellspacing="1"> Create file send_contact.php Diagram This file has the following code: PHP Code: <?php Save both files and use contact.php file for contact page. The data from this file will be moved to send_contact.php file where you can easily collect data from the users that use this contact.php page to contact you. This tutorial is written by zone for www.supportforums.net . If you wish to add this to your own website, please give credit to me. Giving credit and link to the original source is always appreciated. Thankyou for all of you, be happy always |