With file uploads, the enctype
of the form
needs to be multipart/form-data
<form method="post" enctype="multipart/form-data" action="http://cscie12.dce.harvard.edu/echo">
Upload two files:<br/>
<input type="file" name="file1"/><br/>
<input type="file" name="file2"/><br/>
<input type="submit" name="action" value="Upload"/>
</form>
Copyright © David Heitmeyer