note 51391 rejected from function.pdf-get-value by betz
| From: | betz@php.net | Date: | Tue, 29 Mar 2005 16:58:32 +0000 |
| Subject: | note 51391 rejected from function.pdf-get-value by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-87152@lists.php.net to get a copy of this message | ||
Note Submitter: cjcommunications at gmail dot com
----
This is my code:
foreach(glob("printable/*.pdf") as $filename){
$pdftitle=pdf_get_parameter($filename,"TITLE");
echo "<a href='$filename'>$pdftitle</a><br />";
}
This is my error message:
Warning: pdf_get_parameter(): supplied argument is not a valid pdf object resource
I can't find the appropriate resource in the PHP manual to extract the Title of the PDF files.
I have PHP 4.3 installed.
Thanks,
Chris