Best value in
web hosting HOSTING ORDERS SUPPORT CONTACT SITE MAP


Frequently Asked Questions

  • Frequently Asked Questions

  • How do I use cgiemail and Formmail?


    Cgiemail:This is a program that will email you the forms filled out from the web.

    Here's an example -

    Create a text file called "example" in the main web directory.This is the content of the file:
     
    To: joe@blue.com
    Subject: example

    This is a test message.
    This is a test message.
    name: [name]
    phone: [phone]
    That is the file that will be sent to joe@blue.com.
    Now, cgiemail will automatically replace [name], [phone], anything in the brackets with the corresponding user supplied info from the web form. Also, you MUST have the To: and the Subject: line followed by the blank line. Those three lines MUST be on the FIRST THREE lines. You cannot change the From: address.

    Here is a part of the web form page called "example.html"

    <form method="post" action="/cgi-bin/cgiemail/example">
    <input type=text name="name">Your name?
    <input type=text name="phone">Your number?
    etc...


    If you want to have your own customized "success" page, place the following line in your form page:

    <INPUT TYPE="hidden" NAME="success" VALUE="http://yourdomain/somepage.html">

    It will then redirect to somepage.html.

    Formmail is a very easy to use form processor, simply place the following on any page after entering your domain.

    <FORM METHOD=POST ACTION="http://yourdomain.com/cgi-bin/formmail.cgi">
    <input type=hidden name="recipient" value="sales@yourdomain.com">
    <input type=hidden name="subject" value="Order">
    <input type=hidden name="return_link_url" value="http://yourdomain.com/>
    <input type=hidden name="return_link_title" value="Back to Main Page">
    Be sure to replace "yourdomain.com" with your real domain name and add any other input fields you wish to collect and transmit (such as <input type="text" name="some name" size=30 maxlength=60">).

    Details are available on the Formmail site.

    Updated: 08/24/06


  • Search entire site for:

    There is also an extensive online manual available.

    http://hostings.com   888-404-HOST (toll-free US/PR/VI/GU), 706-897-4743