The steps shown on this page are:
1. Edit the contact.htm
2. Install or download the script
3. Edit the script
4. Check the contact.htm
5. Upload the script
6. CHMOD the script
7. Test the contact form
Edit your contact.htm or quotes.htm and replace "your-web-domain.com" with your domain name in three places. Click for details. (NOTE: You may need to edit the formmail.cgi in the template contact.htm or quote.htm to formmail.pl with the script you downloaded above.)
If you have Allwebco hosting or do have a hosting cgi-bin: Now that you have downloaded formmail, use a plain text editor like Notepad and edit the refers in the formmail.cgi or formmail.pl. Be sure if you have formmail.pl that you edit your contact.htm or quotes.htm and change the "formmail.cgi" to "formmail.pl" on the "post" line (first line of the form). To edit the refers, open the formmail script, and find the following line (about 30 lines down):
@referers = ('scriptarchive.com','220.127.116.11');
Change the above shown in red to your domain and your IP. If you do not know you IP you can edit this like the following:
Check the "contact.htm" or "quotes.htm". If you have uploaded "formmail.cgi" be sure the HTML page <form> line (shown below) is edited for "formmail.cgi", or If you uploaded "FormMail.pl" edit the HTML page <form> line to call for "FormMail.pl" (uploaded files are case sensitive). Edit for either .cgi or .pl if needed. Click for more details.
Optional: Adding Extra Security (recommended):
To add more security and prevent auto-hacking of your form script, rename the downloaded "FormMail.pl" to a unique name like "rsender.pl" or something similar. You can name the file any name. Edit the "contact.htm" or "quotes.htm" with the name of your re-named script as shown below.
Step 5 and 6:
Now you must upload the formmail.cgi or FormMail.pl (or rsender.pl) to your hosting area using FTP software. Once the script is uploaded, you must CHMOD 755 the file if you have UNIX type hosting. To CHMOD 755 a script right click on the script in the FTP window, choose "CHMOD" then type 755 in the small box. Click below to see this visually in CuteFTP.
NOTE: CHMOD may also be called "File Attributes", "File Properties" or "Permissions" in different software
NOTE: If you have a Windows hosting setup rather than UNIX, you must contact your hosting company to set the formmail file permissions.
Note about the e-mail you can use:
Formmail will not let you e-mail outside of your Domain name. e.g. If your Domain is momswharehouse.com your e-mail address on the contact.htm or quotes.htm can not be an MSN.com email address or an AOL or any other, it must be ????@Momswharehouse.com. This is a security feature in the formmail script so you cannot relay e-mails out of another mail server.