note 51391 added to function.pdf-get-value
| From: | cjcommunications at gmail dot com | Date: | Tue, 29 Mar 2005 16:33:30 +0000 |
| Subject: | note 51391 added to function.pdf-get-value | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-87148@lists.php.net to get a copy of this message | ||
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
----
Manual Page -- http://www.php.net/manual/en/function.pdf-get-value.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51391
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51391&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51391&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51391&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51391&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51391&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51391&report=yes
Search -- http://master.php.net/manage/user-notes.php