0

Actually I'm trying to get the date of creation, author, title, last modified date etc from pdf which will be uploaded to the server and then store these metadata value into the database. Is there any simple implementation to do it which will be applicable for all pdf files.

1 Answer 1

1

Use the Zend_pdf Framework:

$pdf = Zend_Pdf::load($pdfFilePath);

echo $pdf->properties['Title'] . "\n";
echo $pdf->properties['Author'] . "\n";

Limitation: Works only on unencrypted files smaller than 16MB.

1
  • @ Akshat Thanks. Can you share some video tutorials ? Feb 9, 2014 at 14:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.