|
For the World's Most Important Web Site - YOURS! VPS v2 Support Documentation |
||||
|
|
FormMail CGIFormMail is a CGI program designed to generate e-mail based on the input from an HTML form. InstallationTo install FormMail on your Virtual Private Server, connect to your server via SSH, su to root, and run the following command: # vinstall formmail The FormMail script and additional files that contain various help information will install in the /usr/local/FormMail directory. A FormMail.pl file will also be placed in the /www/cgi-bin directory. If you do not want the FormMail.pl file in this directory, either remove it or move it to the desired cgi-bin directory. Before executing the script, open the file FormMail.pl and modify the following fields under the USER CONFIGURATION SECTION.
Once you have modified these two fields, save the file. UsageCreate an HTML form page. For example, create a file called form.html, copy the following HTML code to the file, and place the file in the DocumentRoot directory for the intended subhost: <form method="POST" action="/cgi-bin/FormMail.pl"> To test the form you would use a url similar to the following: http://YOUR-DOMAIN.NAME/form.html When creating an HTML form page, the form should include at least the following field:
Other optional fields can also be used to enhance the operation of FormMail for you site, for example:
Several other fields are supported. See the README file in the /usr/local/FormMail directory for a complete presentation of the supported fields. Documentation For more help on creating an HTML form page, please see the following url: |
|||
|
© 1996 - 2008 Web Hosting Solutions 1311 Darcann Drive, Columbus, OH 43220 1-888-522-3738 Money Back Guarantee 99.9% Uptime Guarantee Like sports? Visit ColumbusSports.com |