[fpc-pascal] CGI file upload
Vannus
vannus at gmail.com
Tue May 25 02:23:47 CEST 2010
>
> There is an example project (CGI and Apache mod) in Lazarus under
> /components/fpweb/demo/fptemplate/fileupload/ you can use.
>
> AB
>
>
Cheers, it turned out to be the HTML form needed 'enctype' which i've never
seen before.
<form action="merge.cgi" method="post" enctype="multipart/form-data">
Upload File: <input type="file" name="up" /> <input type="submit"
value="Submit"/>
</form>
- V
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100525/0c8055d2/attachment.html>
More information about the fpc-pascal
mailing list