Results 1 to 4 of 4

Thread: "contact me" (or "help request") page with file attachment

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2007
    Posts
    36

    Question "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.

  2. #2
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    Re: "contact me" (or "help request") page with file attachment

    Are you looking for something like this?

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2007
    Posts
    36

    Re: "contact me" (or "help request") page with file attachment

    Quote Originally Posted by Blagojce View Post
    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?

  4. #4
    Addicted Member
    Join Date
    Sep 2008
    Posts
    149

    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
  •  



Click Here to Expand Forum to Full Width