0

i have pdf files that i need to get their text contents with php FPDF/FPDI.

thank you.

user3725920
  • 13
  • 1
  • 3
  • See also: http://stackoverflow.com/questions/5824010/open-pdf-file-in-fpdf-and-return-ist-content – Raptor Mar 10 '15 at 09:09

2 Answers2

0

This is not possible with FPDF/FPDI.

You may try PDF Parser (if you can go with the GPL) or the SetaPDF-Extracter (not free!) component. There are also some classes on google around but I don't want to suggest them, because their features are very limited.

Gleb Kemarsky
  • 10,160
  • 7
  • 43
  • 68
Jan Slabon
  • 4,736
  • 2
  • 14
  • 29
0

below is some available library which you can use in Javascript and can send that textarea into php

below is the gthub project https://github.com/hubgit/hubgit.github.com/tree/master/2011/11/pdftotext

below is the example http://git.macropus.org/2011/11/pdftotext/example/

Hitesh Chavan
  • 76
  • 1
  • 6