Another straight to the point solutionHere's a PHP class I wrote which can be used to get title & author and a number of pages of any PDF file.
It does not use any external application- just pure PHP.
This class is incredibly easy to use. Just take a look at this usage example:
Output is UTF-8 encoded.$p = new PDFInfo; $p->load('pdf1.pdf'); echo $p->author; echo $p->title; echo $p->pages;
The class is licensed under MIT, so it is as free as could be :)
Click here to download the class and then you can leave a comment: