⭐ in reply to How to submit a file to a web server via a HTML form?
Read the 'CREATING A FILE UPLOAD FIELD' section of the CGI module doc.