PHP生成的PHP 4.3.2 :(

I'm faced with having to generate some fairly basic PDFs on a server which is running php 4.3.2 unfortunately.

So that pretty much renders most things impossible such as google's domPDF etc.. PDFlib is not compiled in so I can't use any of that either.

Does anyone have any suggestions?

Thanks!

I ended up using an older version of fpdf and HTML2PDF (from the link below.) It's certainly not ideal, but then neither is a 7 year old version of php.

http://www.macronimous.com/resources/Converting_HTML2PDF_using_PHP.asp

use this R&OS PDF Class to achieve this task.. This is fairly simple and light weight class and requires no module etc to be installed on the server.

You could try out DocRaptor.com, which is a webservice that will let you convert html to pdf.

You didn't mention if you were generating these from scratch or from existing PDF data. pdftk is a handy PDF manipulation library. You can shell out to it from PHP.