ankita
ankita

Reputation: 79

Read PDF Title from pdf content in PHP

How to get PDF Title from PDF content ? PDF Metadata is not getting PDF title . I want to get PDF Title and Heading of PDF file in php.

Upvotes: 0

Views: 1553

Answers (1)

Rob Lyman
Rob Lyman

Reputation: 364

Extracting metadata from PDFs can be tricky, because there are multiple places it can be stored in the file (specifically, both the info dictionary and the XMP stream).

This post suggests some PHP toolsets that may be relevant: Reading PDF metadata in PHP

Upvotes: 1

Related Questions