File|Upload
How can I have a file sent from a HTML form without the user
having to cut & paste the contents into a text field?
You need 'file upload' which is done by using the <INPUT> tag with attribute
TYPE=FILE in a FORM with encoding type set to "multipart/form-data", e.g.
<FORM action = "http://www.server.dom/cgi/handle"
enctype = "multipart/form-data" method="POST">
Filename: <INPUT type="FILE" name="name_of_file"></FORM>
You may find cgi-lib.pl helpful for processing the form; see
See also http://www.w3.org/TR/WD-html40-970708/interact/forms.html#input-types
|