Extraction of PDF properties

Informations

Author: Sacha MPS
License: FPDF

Description

This function extracts the document properties from a PDF file. It works fine with documents generated by FPDF. It can also work with PDFs made from other generators, but not all.

The get_pdf_prop() function returns an associative array whose keys are the names of the properties found in the file (such as Author, CreationDate, Creator, Keywords, Producer, Subject and Title).