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!

Link to comment
Share on other sites

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).

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.