FishNet, Inc.
View CartMonday: September 6, 2010
Back: CGI Resources

Adding A Hit Counter To Your Page

Web Form to Email: cgiemail

The redirect Script

Web Form to Email: cgiemail

The following link describes how you design your own custom email form - in your own account!

CGIEMAIL is fully installed on the FishNet servers; you do not need to install any CGI software at all.

You only need to build three files in your local Web directory for each Web form you want to install. The following three files are needed:

  1. A form definition HTML file;
  2. A mail text template referencing the data from the HTML form.
  3. A success page shown when the form is accepted.

These examples are given for you to see how to implement your own form. Use the 'View' / 'Source' screen in Netscape or Internet Explorer to see the actual document source on the screen. Helpful comments are contained in each source file to tell you how to customize them for your own installation. You can also save the file locally from your browser so you can modify it directly.

  • CGIEMAIL Home Page
    (for documentation reference only; CGIEMAIL is already installed on FishNet's servers.)

  • The Mail Submission Form: cgi-email-form.html

    Change the mail submission form in two places; these two places are the "ACTION" and the "SUCCESS" lines. These two places are marked in the document source by HTML comments. You can use your own domain name if you wish instead of "fni.com".

  • The Mail Text Template

    Change the template file to lay out the fields that you used in the mail submission form. Be sure to leave the top three lines left justified, with a fourth blank line. The fourth blank line is required. Also, change the To: line to your own e-mail address.

    When uploading the .txt file by FTP, be certain that you do so in your FTP program's ASCII or text mode, not binary mode. If the file is uploaded in binary mode the email may not work properly.

  • The Success Page: cgi-email-good.html

    Customize the success page as you wish; this will be shown when the form is accepted.


| HOME | SERVICES | PRODUCTS | DIRECTORIES | SUPPORT | REGISTER DOMAINS | CHRISTIAN WEBSITES | CONTACT US |
FishNet®, Inc. P.O. Box 940451 Plano, Texas 75094-0451  972.669.0041  866.529.1843  webmaster@fishnetinc.com