Here's the code for a cgi script I put on a windows server (script is windows compatible). The script is meant work like a regular web form with the added feature of allowing the user to upload a file from their local computer to a directory on the web server. Everything works (autoresponder email, form details email, image upload, etc) except for the fact that the uploaded images are jumbled as if they were transfered in ascii mode.
code located here: http://209.41.175.182/fforms.txt