Jump to content

form that uploads image to directory and emails info


aaronk1978

Recommended Posts

Hello All,

 

Is it possible to create a form that includes several text field and 3 file upload fields that when the submit button is pushed, the text info is email and the files are uploaded to a directory?

 

I've been wracking my brain :'( the last 2 days and just can't get the coding to work. I was able to get a file to email with the tect, but my mail server doesn't allow for over 2mb files, and most of the files that will be uploaded are going to be between 3-5mb.

 

Any suggestions would be greatly appreciated.

 

Thanks!

but my mail server doesn't allow for over 2mb files, and most of the files that will be uploaded are going to be between 3-5mb.

That's the first problem you have to solve. What if you kept the files on the server and put links to them in the email? It would mean you'd need a more sophisticated upload system (there are potential gotchas to worry about) and some access control (because I don't think you'd want just anybody accessing any files).

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.