[thelist] CGI Server Side - How do I include attachments in a form
Tim Beadle
tim.beadle at iop.org
Wed Aug 11 03:27:23 CDT 2004
On Tue, 2004-08-10 at 21:54, Sylvia Braunstein wrote:
> I was asked to create a feedback form to include attachments. I included an
> <INPUT TYPE="file"> tag and metadata tag in the html but have no idea what
> to do with the CGI on the server side and how it works.
Whichever server-side method you choose, make sure you use:
<form enctype="multipart/form-data" method="post">
plus your other attributes (action etc.). If you don't, your attachment
won't get attached :)
Tim
--
Tim Beadle <tim.beadle at iop.org>
More information about the thelist
mailing list