/ Published in: PHP

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?).
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
<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>
Comments
