You can create a web page that allows users to fill in information. These are called forms. There is an
example of such a form below. Usually the user fills in some information and then clicks a button to "submit" the
information. What happens to the information? Well, anything you want. But you have to write a program to deal with the form
output. However, I have written a program that will handle the output from any form. It's not very sophisticated. It simply
thanks the user for submitting their info and sends you an email with all the information from the form. This should let you
get started with forms. If you want to do something more sophisticated, you will have to write your own program.
To get started, I suggest that you save this page and edit it.
The following is an example of a few of the basic form elements. The "action" determines which program handles the data from
the form. Leave that as "/cgi-bin/generic_mail". generic_mail can handle any form with any number of variables. The results
are mailed to the recipient and echoed back to the user. Only the recipient and subject fields matter. Here the recipient field is an example of a hidden
field, but need not be. However, there must be some element of the form with "name=recipient". And the value of this field is
where the mail goes. Save this in your public_html directory and modify it to suit your needs. You can try this one if you
want, but the webmaster gets the mail. So, don't go crazy.
Last Modified: Monday, 07-Jul-2003 09:20:04 MDT
Here's the code.
Information about you:
What is your email address?
What is your real name?
Info:
Selection Box:
Checkbox: whatever
ANYTHING
This one is
checked
Radio Buttons: 1
2
3