Sending pdf invoice as an attachement

Discussion in 'PHP' started by Matt18, Jul 25, 2011.

  1. #1
    Hi

    Could please point me out in right direction. I would like to create a script that would take some variables, insert them in the .pdf and send it to a recipient specified.

    Thank you very much for all your help and links!
     
    Matt18, Jul 25, 2011 IP
  2. MRFD

    MRFD Active Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    93
    #2
    Search for FPDF (.org)
    (I'm new here, this is why I can't post direct link)
     
    MRFD, Jul 25, 2011 IP
  3. ezprint2008

    ezprint2008 Well-Known Member

    Messages:
    611
    Likes Received:
    15
    Best Answers:
    2
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    does Fwrite work on .pdf or only .txt files?
     
    ezprint2008, Jul 25, 2011 IP
  4. Matt18

    Matt18 Guest

    Messages:
    591
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    This site is great. Thank you very much. I will test it in the evening when I get home. Thanks again!
     
    Matt18, Jul 25, 2011 IP
  5. MRFD

    MRFD Active Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    93
    #5
    Ok, let us know if it works fine.
     
    MRFD, Jul 26, 2011 IP
  6. ZeroGamma

    ZeroGamma Peon

    Messages:
    35
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    In terms of sending a file as an attachment I'd highly recommend the PHP mailer class.
     
    ZeroGamma, Jul 28, 2011 IP