Uploading files
Posted by: Ward
Posted on: 2006-02-03 16:33:00
I'm trying to set up input forms in PHP (using HTML code in the modules) so that customers can send information to me. An optional part of that information can be 2 files (they should be graphics files). I've set it up with the proper INPUT type="file" as well as setting the enctype and method (post), but it doesn't work. I've used two different enctypes and the proper one (enctype="multipart/form-data") gives me nothing from the file field and the improper one (enctype="x-www-form-encoded") I get the paths of the files but not the files themselves. This is all using the formmail.cgi action.
Is it possible to have customer uploaded files sent through a form, processed through DreamHost and delivered via email?
Any help or insights would be greatly appreciated.
Thanks!