tags:

views:

110

answers:

4

I need to dinamicaly generate a PDF from HTML, but I have PDF Support disabled on my hosting, so is it possible to do without PDFlib GmbH library?

Thanks

+3  A: 

The most common alternative is FPDF. It is pure PHP and needs no installed extensions.

Pekka
A: 

You could also checkout htmldoc:

http://www.htmldoc.org/

Mike
@Mike but it needs to be installed yes?i haven't permission to install it on the hosting.
Syom
+4  A: 

There are many packages, but as I gather you're not able to install extra libs on your hosting. Options would be FPDF if you feel like rewriting your whole HTML into blocks, TCPDF if you feel a bit less masochistic, which has some limited html/css support.

Wrikken
+1 for TCPDF...
Josh
You should take TCPDF. It has almost every feature you need and it is very well documented.
Kau-Boy
A: 

An other nice option is dompdf, which is a HTML to PDF converter and is (almost) CSS 2.1 compliant. It can be used either using PDFLib or the R&OS CPDF class

Intru