|
-
Nov 12th, 2014, 06:00 PM
#1
Thread Starter
Member
"contact me" (or "help request") page with file attachment
Folks,
I'm sure that everyone have seen the "contact me" or "help request" pages where you fill in the request and it's sent via e-mail. Some of these pages even allow file attachments. Aside from Captcha, the user doesn't have to create an account or sign it.
I'm thinking how file upload would be implemented in this case. Multiple users may be composing e-mails simultaneously, and their files shouldn't get mixed up. One way to deal with this would be to create a separate folder for each e-mail being composed, give it a unique name (a GUID, perhaps), pass the name around in a hidden field. This sounds like creating a session and making this a stated affair.
Wondering if there are other/standard ways to tackle this?
Best,
- Nick
P.S. Newbie to web dev here.
-
Nov 13th, 2014, 03:08 AM
#2
Addicted Member
Re: "contact me" (or "help request") page with file attachment
Are you looking for something like this?
-
Nov 13th, 2014, 01:11 PM
#3
Thread Starter
Member
Re: "contact me" (or "help request") page with file attachment
 Originally Posted by Blagojce
Are you looking for something like this?
Thanks for digging up an example. But, I don't understand how the files are kept separate when 2 different users create 2 different messages and upload files at the same time. Where do the files go?
-
Nov 14th, 2014, 03:16 AM
#4
Addicted Member
Re: "contact me" (or "help request") page with file attachment
Each file is stored as attachment in each mail. If 2 users create 2 different messages, they create 2 different mails.
If you want to store files locally, you can create folder for each email (email'll be the name of the folder) and place files there.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|