The following is a description of the use of NetOne's FormMail script. FormMail was
created by Matt Wright and can be found at Matt's Script Archive, an excellent resource for cgi scripts.
Below is a sample form much like you may have seen in
use on many web pages:
Name:
E-mail Address:
Mailing Address:
City:
State: Country:
Phone (optional)
Follow these line-by-line descriptions to implement
this type of form on your own web page:
This field tells FormMail where to send the form output:
"username@netonecom.net" is the e-mail address where you want the results of the
form sent:
<FORM METHOD=POST ACTION="http://users.netonecom.net/cgi-bin/FormMail.pl">
<input type=hidden name="recipient"
value="username@netonecom.net">
These three fields generate a Results Page which shows the
user of the form his/her completed form and provides a return link (to your hompage or
wherever):
<input type=hidden name="title" value="Title of the Page
Here">
<input type=hidden name="return_link_url"
value="http://www.netonecom.net/whatever.html/">
<input type=hidden name="return_link_title" value="Title
for link to the Above
Page Here">
This field will add a description of the user's host and the
browser they are using:
<input type=hidden name="env_report" value="REMOTE_HOST,HTTP_USER_AGENT">
Following the above fields, you may insert a form of any kind.
This is the code to complete the simple form above:
<BR> <BLOCKQUOTE><B>
Name:<INPUT NAME="name" TYPE="text"
SIZE="49"><BR>
E-Mail Address:<INPUT NAME="e-mail" TYPE="text"
SIZE="40"><BR>
Mailing Address:<INPUT NAME="street/po box" TYPE="text"
SIZE="40"><BR>
City:<INPUT NAME="city" TYPE="text"
SIZE="27">
State:<INPUT NAME="state"TYPE="text"
SIZE="2">
Country:<INPUT NAME="country" TYPE="text"
SIZE="4"><BR>
Phone (optional)<INPUT NAME="phone" TYPE="text"
SIZE="30"><BR></B>
<INPUT TYPE="submit" VALUE="Submit"><INPUT
NAME="name" TYPE="reset"
VALUE="Reset"></BLOCKQUOTE></FORM>
If you need more help generating a form, please try
these links: