Possible duplicate:Read pdf files with php
Can you read PDF files using PHP code?
Yes, you can. Or install a command line script that can convert PDF files to text and execute it in PHP
$content = shell_exec('/usr/local/bin/pdftotext '.$filename.' -'); //dash at the end to output content
( source )
... or write a PHP function like this .
To read PDF files, you need to install the XPDF package ( http://www.foolabs.com/xpdf/about.html ), which includes "pdftotext". After installing XPDF / pdftotext, you run the following PHP statement to get the text in PDF format:
You will need to use an extension, for example
http://www.pdflib.com/products/pdflib-family/
or
http://framework.zend.com/manual/en/zend.pdf.html