![]() |
Struggling With Topic Choice?
Only $7.77/mo.
|
Creating Emails for Your SiteHome >> Website Additions >> Creating Emails for Your Site ![]() A form allows your web site visitors to enter information and send it to the email address you specify. Probably one of the easiest forms to setup / configure is the FormMail script. However, in order to make this work your site must be hosted with a host that allows you to upload files to your cgi bin. If you are not sure about this, contact your web hoster to find out. Next, download the formmail script and follow the instructions provided. Once you've edited the script as necessary, upload/save it to your site's cgi bin folder on your web server. If you do not have a folder named "cgi-bin", then you can create a new folder/directory. Now change the permission of the file to 755 (CHMOD 755). If you need help with uploading and changing permissions see the WSFTP tutorial. HTML Code for Forms Once the FormMail file is in place on your server, all you have to do is create a page with the form code to make it work. Below you'll find a sample email form and the code for creating it (below the sample). Just copy and paste it into your .html page. The form has the following fields:
Here is what the form will look like and below you will find the HTML code. You will need to change some variables (in red) to customize it to your own needs. Here's the code for the form you can copy and paste. Feel free to remove the HTML code for fields you don't need or adjust the various values to fit your liking. Notice the red text. This is what you need to edit to customize the form. 1) The 1st entry should be changed to the address of the FormMail
script on your server
<form METHOD=POST
ACTION="http://www.yoursite.com/cgi-bin/formmail.cgi">
|
FREE! FREE! FREE! |
Copyright 2002 - 2008 - 2CreateAWebSite.com - All Rights Reserved
Site Designed With Dreamweaver.
2 Create a Website Blog & Webmaster Forums
Privacy Policy