Software Solutions |
|
|
Software Solutions Salt Lake |
Adding a Simple Form to your Web PageForms provide a way for you to see who is visiting your web site and what they thought of it. A form can also be used to let visitors request more information about the subject of your site. Use the following steps to add a simple form to your page and have the information it collects sent to your Email box: (Remember, when you transfer files using FTP use the ASCII format for text files-the ones with an extension of .txt and .htm and the BINARY format for images-.gif & .jpg) 1. Place the following lines in the top part of the FORM section of your document: <FORM ACTION ="/cgi-bin/formmail.pl"
METHOD="POST"> In the example above, the line with NAME equal to recipient specifies who the mail is sent to, subject specifies what you want the subject of your mail to be and username specifies who the mail is from. 2. After the section above, create the form you want visitors to see and close
it with</FORM>. For example: 3. Place the HTML document with your form in your website on the server and try it out!
|