Page 1 of 1

pdflib alternative...

Posted: Tue Sep 07, 2010 11:50 am
by wilbur_wc
i need to read a pdf and convert it to raw text (with line breaks - but that's as fancy as i need it)... pdflib does way more than i need, and it's super expensive, and i don't really see the need to install an app on my server just to read a simple pdf... there must be an alternative out there, but i can't seem to find it... and when all of php.net seems to reference pdflib, i start to get a little discouraged... it seems like a simple pdf reader class/package would be open source somewhere... any suggestions?

thanks

Re: pdflib alternative...

Posted: Tue Sep 07, 2010 6:18 pm
by mecha_godzilla
Have you looked at this yet:

http://www.setasign.de/products/pdf-php-solutions/fpdi/

I haven't used it, but I would guess the main challenge would be to look through the code to find what arrays/objects store which values. As mentioned, you'll need a copy of FPDF as well (even though you're not generating any PDFs) which can be found here:

http://www.fpdf.org/

HTH,

Mecha Godzilla