in reply to Image upload

Welcome anonymous monk.
There are a ton of posts here at PM related to cgi uploads, use super search to search for related topics here.
Go to CGI documentation on CREATING-A-FILE-UPLOAD-FIELD.
Also give this a look.

-Silent11