mike
mike

Reputation:

PHP library to read PDFs?

Do you know of any free libraries to read PDFs in PHP, the built in PDF functionality is only for rendering PDF output.

Upvotes: 3

Views: 2058

Answers (5)

Leo Bonnafe
Leo Bonnafe

Reputation:

You can use phpLiveDocx to convert PDF, DOC, DOCX, RTF etc to TXT. For details see http://www.phplivedocx.org

Upvotes: 0

Manuel
Manuel

Reputation: 846

You can use FPDI to read pdf and translate them in fpdf

Upvotes: 1

waney
waney

Reputation: 402

Once again, Zend Framework strikes : Zend_Pdf is a PDF (Portable Document Format) manipulation engine

Don't forget that Zend Pdf is appliacable to use in NON-Zend environment. Most of Zend componemts are easy pluggable to any PHP application.

Upvotes: 3

Wookai
Wookai

Reputation: 21723

Once again, Zend Framework strikes : Zend_Pdf is a PDF (Portable Document Format) manipulation engine. It can load, create, modify and save documents. Thus it can help any PHP driven application to dynamically create PDF documents by modifying existing templates or generating new ones from scratch. [...]

Upvotes: 6

codebunny
codebunny

Reputation: 2899

If your webserver is Unix, use the pdftotext utlity to dump the PDF to text, then display it how you want it. It's not going to have the formatting, but the text will be available.

Upvotes: 1

Related Questions