Bug #13258: pdf_place_image dies when image file is not accessible
| From: | rob at rsee dot net | Date: | Wed, 12 Sep 2001 05:07:03 +0000 |
| Subject: | Bug #13258: pdf_place_image dies when image file is not accessible | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-65803@lists.php.net to get a copy of this message | ||
From: rob@rsee.net
Operating system: Linux 2.4
PHP version: 4.0.6
PHP Bug Type: PDF related
Bug description: pdf_place_image dies when image file is not accessible
The following code causes a script to silently die on the call to
pdf_place_image when the file in pdf_open_image_file is not accessible
(exists but file permissions deny access).
$image=pdf_open_image_file($pdf,"png","/usr/local/apache/htdocs/images/timesheet.png");
pdf_place_image($pdf, $image, 1, 1,.48);
--
Edit bug report at: http://bugs.php.net/?id=13258&edit=1