TQCi Technical Reference
More questions? Please email Tech
Support
I would like to incorporate an online form so visitors can send me feedback or information from my webpage, and have the responses E-Mailed to me. How do I do that?
FORMMAIL
We have a resource in our cgi-bin directory called "FormMail." This resource
is a freeware PERL script authored by Matt Wright,
found at http://www.worldwidemart.com/scripts
How to use it in your HTML:
If your not all that familiar with HTML, please take a moment and read tech8.html, which gives links to HTML resources.
As an example, I will show the basic utilization on our server.
<form action="/cgi-bin/formmail.cgi"
method="POST"> (THIS WILL NEVER CHANGE)
<input type="hidden" name="recipient"
value="your_username@tqci.net">
<input type="hidden" name="subject"
value="place_a_subject_here">
Your Name: <input type="text" name="name"><br>
Your E-Mail address: <input type="text" name="email"><br>
Your Comments: <input type="text" name="comments"><br>
<input type="submit" value="Submit" name="submit">
<input type="reset" value="Reset" name="reset">
</form>
When you place this in your HTML, you will get this:
And when someone submits a response, this is what you will be e-mailed:
Below is the result of your feedback form. It was
submitted by
(webmaster@tqci.net) on Tuesday, April 21, 1998 at
19:59:59
---------------------------------------------------------------------------
name: Testing
comments: These are my comments
submit: Submit
---------------------------------------------------------------------------
There are several features that you can use when utilizing FormMail.
To find out about them, please visit the FormMail readme.
Of course, if you have any problems, please e-mail webmaster@tqci.net