File Uploads Through HTML Forms »
Make sure your form is set to use the "POST" method. Make sure that the "enctype" is "multipart/form-data". Add a field of type "file". That's it for your HTML. The rest of the work is done on the host side. And that isn't really that hard either, but different browsers make it more challenging.
