How to use Mailback Forms

Overview

"mailback" is a cgi-bin program that TurnPike users can call from an HTML forms statement.

Its purpose is to provide users with a simple way to capture the contents of a form via Email.

TurnPike users, having a current Email address on file, will be mailed the contents of the form submission. The mail will include the date and time of the form submission, plus a line for each field received from the form.

The format of each line is FIELD NAME:  VALUE.

Instructions

Place the file containing the HTML code for the form in your directory structure (such as "public_html/inquiry.html").

Include the following in your html code:

<FORM METHOD="POST"
ACTION="http://turnpike.net/cgi-bin/mailback?login+filename">
(for a double spaced version)

or

<FORM METHOD="POST"
ACTION="http://turnpike.net/cgi-bin/mailback1?login+filename">
(for a single spaced version)

Replace "login" with your FTP login name and "filename" with the file name for post processing (such as "public_html/thanks.html").

If "filename" is specified, the program will check for the existance of that file name relative to your HOME directory. If found, it will be used as the HTML page to present following the submission of the form. This is where you can say "Thank you for your order....", etc.

Any links used in this post processing file must be ABSOLUTE, containing a full URL for that link (such as href="http://turnpike.net/~login/more.html"). Relative URLs, such as href="more.html" will not work here.

If no file name is specified or the file is not found, then a "Thank You" followed by a "Go to TurnPike" link will be displayed.