ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

How do create a form that allows file attachments without uploading to server?

baxterdown 12 Nov, 2019
I need to create a form that allows file attachments. But, I don't want the files on the server, I just want them to go with the form. How do I do this?

I looked at FAQs and searched the forum but couldn't find an answer.

Thanks,

Jose
healyhatman 12 Nov, 2019
You would have to make the file upload function and email function yourself from scratch in PHP.

Or just upload the files to the server, send them, and periodically delete old files from the folder with a cron job.
baxterdown 13 Nov, 2019
CFv5 allows to attach a file to an email without uploading to the server. Add this to the pile of things CFv6 can't do. The more I use CFv6, the less I like it.

Thanks for your reply.

Jose
GreyHead 13 Nov, 2019
Hi Jose,

I don't think CFv5 can do that - I don't know how you would do it technically. What you can do is upload the file, send the email, then delete the uploaded copy.

Bob
baxterdown 13 Nov, 2019
Hi Bob, maybe I'm confused. My understanding from the forms I've done with CFv5 was always that the file just got attached to the email. Please take a look at this form I did on CFv5 and tell me if the file attachments end up on the server. And if so, where would I find them?
healyhatman 13 Nov, 2019
Sorry but there's no way to tell from the front end. You don't even have any debug information displayed.
This topic is locked and no more replies can be posted.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com