form to request pdf file

Discussion in 'PHP' started by kool43, Oct 12, 2007.

  1. #1
    I need to find a form and script that will do the following:

    Website user fills in name and email.

    Website user recieves email with PDF attached.

    Website admin receives email with website user name and email or at least a copy of the email so that we can harvest the email addresses.

    It seems simple enough, but I can find no documentation as to how to attach files to an email with matt's or jack's scripts.

    Thanks in advance for any help or suggestions.
     
    kool43, Oct 12, 2007 IP
  2. tamen

    tamen Peon

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Set up an auto reply on a mailbox and have the autoreply message include the attachment. Then send an email with the users email as the reply-to address.

    Its doable in PHP, but its late, Im tired and this was way faster to write down ;)
     
    tamen, Oct 12, 2007 IP
  3. kool43

    kool43 Well-Known Member

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    115
    #3
    That's an idea that has some merit, unfortunately I do not have the control of the server that I would need to make this happen, and I would probably need an autoresponder in order to make it work properly. I still think there is a down and dirty way to do this with a script and form validation.
     
    kool43, Oct 13, 2007 IP
  4. tamen

    tamen Peon

    Messages:
    182
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    tamen, Oct 13, 2007 IP
  5. kool43

    kool43 Well-Known Member

    Messages:
    308
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    115
    #5
    Good idea, thanks, rep given. I will let you know if I come up with a solid solution. I am also interested on other ideas as well...
     
    kool43, Oct 14, 2007 IP