aaronk1978 Posted July 3, 2012 Share Posted July 3, 2012 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! Quote Link to comment https://forums.phpfreaks.com/topic/265175-form-that-uploads-image-to-directory-and-emails-info/ Share on other sites More sharing options...
requinix Posted July 4, 2012 Share Posted July 4, 2012 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). Quote Link to comment https://forums.phpfreaks.com/topic/265175-form-that-uploads-image-to-directory-and-emails-info/#findComment-1359021 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.