How to use TAGnet's contact form if your site is TAGnet hosted.
Letting customers write their own CGI scripts is an open invitation to hackers who try to break into hosting services. That is probably why TAGnet does not allow home made CGI scripts. There are several CGI scripts hosted by TAGnet which you can use, including TAGnet's cgiemail script which is explained on this page. The following examples work if your site is hosted by TAGnet.
Use a simple text editor (e.g. Notepad) to create a file named Contact.txt and place the following text in the file:
Subject: Contact Message
Place this file in the home folder (i.e. root directory) of your site.
Place the following HTML code on the web page destined to feature the contact form:
|<FORM METHOD="POST" ACTION="/cgi-bin/cgiemail/Contact.txt">
Your e-mail address: <INPUT TYPE="text" NAME="email" SIZE="30">
Comments: <TEXTAREA NAME="message" ROWS=3 COLS=55
<INPUT TYPE="submit" VALUE="Submit Comment">
<INPUT TYPE="reset" VALUE="Start Over">
You can change any of the color highlighted text as long as the spelling matches.
You can add more entry boxes with a little copy, paste and edit (it helps to know basic HTML).
You can add a table or two in order to better control the presentation and background coloring.
Lets say you want to move the Contact.txt file to a folder called Forms. Then change
TAGnet Listed Site
The above HTML code example works if your site has it's own domain. Here is what you do if your site is as an extension of TAGnet's domain (e.g. "http://tagnet.org/MySite")? The ACTION entry will look like this:
and if you want to put the text file in the Forms folder then change it to:
Other CGI scripts are available at TAGnet Support