Hi, I need a simple PHP class to convert a HTML file (with texts and images) to PDF. I'm using php4 and can't use php5 on my server Thanx 🙂
Pretty much impossible, considering the number of ways an HTML page can be generated (javascript, css etc). I've not seen a class that can do it yet.
Adam
http://html2pdf.seven49.net/seven49.asp?IDCMainActiv=3908 but there no script to download...I think it's written in .net 🙁
http://www.albert-zangerl.com/html2pdf.php I d'ont speck dutch 🙁
http://directory.fsf.org/print/misc/html2pdf.html can't execute it, I dunno why !!
http://www.tufat.com/script19.htm the same think !!
FPDF is the only one I've had any success with, and works in php 4 and 5.
with fpdf, i'll have to start from 0 !! but what i'm looking for is to convert a HTML page to PDF directly !
FPDF has a class that can create pdf on the fly, just needs an array and some header info. There is no such class that will convert your html code to pdf just like that.
There is no such class that will convert your html code to pdf just like that >> http://www.tufat.com/html2ps.php it works on my localhost but not on my server ! 🙁