PHP Contact and Quote Form Setup
Template forms and alternate script setup
Contact and quotes forms included with Allwebco templates use a CGI script to send mail. Your hosting area may not have CGI capabilities or you may be on a Windows server so you'll need to use a different server side script. One option is to use a PHP script. You'll need to have PHP installed on the host server to send e-mails through the forms.
Download the PHP script
Your web hosting server must have PHP installed for this form setup to work. You may need to have PHP installed in your hosting control panel. After you download the script, check the included help files or directions for setup help.
The basic differences
The main thing that will change in the template contact.htm forms will be the <hidden> and <form> action code. Areas that might change are indicated in red below (you may simply replace all the following hidden fields and form action code). Follow the instructions included in the PHP script download.
<form method="post" action="http://your-domain.com/cgi-bin/formmail.cgi">
<input type="hidden" name="recipient" value="firstname.lastname@example.org">
<input type="hidden" name="redirect" value="http://your-domain.com/thanks.htm">
Windows based hosting uses ASP instead of PHP. See Windows Hosting Form Setup.
Form setup overview
E-mail help and redirection
Setting up the contact from with another script
Alternate Formmail script