10 Replies Latest reply: Feb 25, 2007 12:28 PM by Newsgroup_User RSS

    Attaching file to a form

    Hoppie Community Member
      Need to have a form that is emailed to me that has a attach file button, the form is for registration. After filling out the form there should be a button to attach a file, which will be emailed to me along with the form when the Submit button is pressed.
        • 1. Re: Attaching file to a form
          Newsgroup_User Community Member
          If I understand what you are asking for, it cannot be done.

          The problem is that the server sends the email, so the attachment would
          already have to be on the server before it sent the email out...make sense?

          What you could do is have the system send out the email and at the same time
          upload the document to the server and you can pick that up whenever you
          want.


          "Hoppie" <webforumsuser@macromedia.com> wrote in message
          news:ernmb2$jqc$1@forums.macromedia.com...
          > Need to have a form that is emailed to me that has a attach file button,
          > the
          > form is for registration. After filling out the form there should be a
          > button
          > to attach a file, which will be emailed to me along with the form when the
          > Submit button is pressed.
          >


          • 2. Re: Attaching file to a form
            bregent CommunityMVP
            What server side scriping language are you using?
            • 3. Re: Attaching file to a form
              Hoppie Community Member
              cgi-bin/mailto is this what you need to know, also I am using Dreamweaver on a Mac
              • 4. Re: Attaching file to a form
                Newsgroup_User Community Member
                Did you see my post?


                "Hoppie" <webforumsuser@macromedia.com> wrote in message
                news:ernncj$l13$1@forums.macromedia.com...
                > cgi-bin/mailto is this what you need to know, also I am using
                > Dreamweaver on a Mac


                • 5. Re: Attaching file to a form
                  Hoppie Community Member
                  I think I will take the easy way out and just put up an separated email link if they are going to send a file. Thanks for the help and responding so quickly.
                  • 6. Re: Attaching file to a form
                    bregent CommunityMVP
                    >If I understand what you are asking for, it cannot be done.

                    Sure it can - I've done it on several sites. You just need to use a file upload script together with the form mail script. The file upload stores the file with a temporary name and sends that name to the email part of the script which attaches the file and mails it. Once mailed, the script deletes the temp file.
                    • 7. Re: Attaching file to a form
                      Newsgroup_User Community Member
                      Ignore PizzaGood's theory. It's wrong. Use the script found here:
                      http://www.mindpalette.com

                      --

                      Walt


                      "Hoppie" <webforumsuser@macromedia.com> wrote in message
                      news:ernmb2$jqc$1@forums.macromedia.com...
                      > Need to have a form that is emailed to me that has a attach file button,
                      > the
                      > form is for registration. After filling out the form there should be a
                      > button
                      > to attach a file, which will be emailed to me along with the form when the
                      > Submit button is pressed.
                      >


                      • 8. Re: Attaching file to a form
                        Newsgroup_User Community Member
                        ...or check out Forms to Go (www.bebosoft.com/products/formstogo/). They
                        have versions for PHP, ASP, and PERL, I think. I use the PHP version for
                        sites all the time and it works like a charm.

                        Mad dog


                        Hoppie wrote:
                        > Need to have a form that is emailed to me that has a attach file
                        > button, the form is for registration. After filling out the form
                        > there should be a button to attach a file, which will be emailed to
                        > me along with the form when the Submit button is pressed.


                        • 9. Re: Attaching file to a form
                          Newsgroup_User Community Member
                          Don't be nasty, I may have been mistaken but there is no need to say
                          "Ignore.....".

                          Are you sure he is using PHP?




                          "Walt F. Schaefer" <walt@waltswebworx.com> wrote in message
                          news:err90d$roq$1@forums.macromedia.com...
                          > Ignore PizzaGood's theory. It's wrong. Use the script found here:
                          > http://www.mindpalette.com
                          >
                          > --
                          >
                          > Walt
                          >
                          >
                          > "Hoppie" <webforumsuser@macromedia.com> wrote in message
                          > news:ernmb2$jqc$1@forums.macromedia.com...
                          >> Need to have a form that is emailed to me that has a attach file button,
                          >> the
                          >> form is for registration. After filling out the form there should be a
                          >> button
                          >> to attach a file, which will be emailed to me along with the form when
                          >> the
                          >> Submit button is pressed.
                          >>
                          >
                          >


                          • 10. Re: Attaching file to a form
                            Newsgroup_User Community Member
                            Wasn't meant to be nasty. I don't know why you took it that way. Your
                            original post left no room for you to be mistaken. It was absolute. A
                            statement starting with something like "I think..." leaves room for mistake.
                            Absolute statements like "it cannot be done" must be ignored. Simple.

                            > Are you sure he is using PHP?

                            Given the context that doesn't matter, IMO.

                            :-)


                            --

                            Walt


                            "PizzaGood" <PizzaGood@earthlink.com> wrote in message
                            news:ersc71$9md$1@forums.macromedia.com...
                            > Don't be nasty, I may have been mistaken but there is no need to say
                            > "Ignore.....".
                            >
                            > Are you sure he is using PHP?
                            >
                            >
                            >
                            >
                            > "Walt F. Schaefer" <walt@waltswebworx.com> wrote in message
                            > news:err90d$roq$1@forums.macromedia.com...
                            >> Ignore PizzaGood's theory. It's wrong. Use the script found here:
                            >> http://www.mindpalette.com
                            >>
                            >> --
                            >>
                            >> Walt
                            >>
                            >>
                            >> "Hoppie" <webforumsuser@macromedia.com> wrote in message
                            >> news:ernmb2$jqc$1@forums.macromedia.com...
                            >>> Need to have a form that is emailed to me that has a attach file button,
                            >>> the
                            >>> form is for registration. After filling out the form there should be a
                            >>> button
                            >>> to attach a file, which will be emailed to me along with the form when
                            >>> the
                            >>> Submit button is pressed.
                            >>>
                            >>
                            >>
                            >
                            >