PHP Classes

File: example/example.php

Recommend this page to a friend!
  Classes of Arnel Labarda   PDF Meta Reader   example/example.php   Download  
File: example/example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PDF Meta Reader
Parse and extract keywords from PDF using pdfinfo
Author: By
Last change:
Date: 8 years ago
Size: 224 bytes
 

Contents

Class file image Download
<?php

require_once '../PDFMetadataReader.php';

$pdf = 'example.pdf';

$metadata = PDFMetadataReader::factory($pdf);

// return all metadata;
print_r($metadata->info());

// specific info
echo 'Title:' . $metadata->Title;