Is there a easy way to create PDF file by using PHP?

Discussion in 'PHP' started by travelmoth, Mar 19, 2010.

  1. #1
    suppose I have a php program....http://www.aaaaa.com/aaa.php......the output is a html file..

    now..I want to split it to 2 php program
    http://www.aaaaa.com/aaahtml.php
    http://www.aaaaa.com/aaapdf.php

    the 1st one is same as http://www.aaaaa.com/aaa.php...
    the 2nd one just change the output format to pdf...(the content is same as the first one)

    Is there a easy way to do it?
     
    travelmoth, Mar 19, 2010 IP
  2. skywebsol

    skywebsol Well-Known Member

    Messages:
    161
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #2
    PM me i have readymade html to pdf PHP script
     
    skywebsol, Mar 19, 2010 IP
  3. guardian999

    guardian999 Well-Known Member

    Messages:
    376
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    103
    #3
    you can use fpdf to build from scratch or use html2pdf class to convert html to pdf using php.
     
    guardian999, Mar 19, 2010 IP
  4. travelmoth

    travelmoth Active Member

    Messages:
    153
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #4
    travelmoth, Mar 20, 2010 IP