Create PDF From a Completely Static HTML page

Discussion in 'PHP' started by ChaosFoo, Mar 19, 2008.

  1. #1
    I was wondering if anybody new of the best way to create a PDF from a completely static HTML page. This will be used on multiple pages, so I want it to dynamically grab the information from the page, and then create the PDF on the fly.

    I have researched 2 solutions, but I want to know what you guys think is the absolute best solution (even if I have to code it myself).

    Here are the 2 solutions I found:
    http://html2fpdf.sourceforge.net/ (pretty poor documentation)
    http://www.digitaljunkies.ca/dompdf/ (security vulnerability)

    Thanks!
     
    ChaosFoo, Mar 19, 2008 IP