Proper enctype for HTML form file uploads
I always forget this, but you need to use
enctype="multipart/form-data" in your HTML
form tag, when doing a file upload (
input type="file"). Also don't forget to use
method="post" on the
Like this? Follow me ↯Tweet Follow @pfreitag
Proper enctype for HTML form file uploads was first published on January 06, 2006.