Return to Snippet

Revision: 824
at August 11, 2006 13:04 by pckujawa


Initial Code
<form method="post" enctype="multipart/form-data">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
<label for="">Label</label>
<input type="file" name="" id="" />
</form>

Initial URL

                                

Initial Description
The form method must be post and the enctype set as it is below. The hidden input for MAX_FILE_SIZE must also be included. The value is the max file size (in bytes?).

Initial Title
uploading files through html forms

Initial Tags
form, php, html

Initial Language
PHP