ID: 27526 Updated by: [EMAIL PROTECTED] Reported By: techtonik at tut dot by -Status: Open +Status: Assigned Bug Type: *PDF functions Operating System: Windows 2000 PHP Version: 4.3.6RC2 -Assigned To: +Assigned To: edink New Comment:
Edin, can you update the used dlls? (latest is 5.0.3 btw..) Previous Comments: ------------------------------------------------------------------------ [2004-04-13 16:40:18] techtonik at tut dot by So, will you upgrade PDFlib in PHP distributive to latest available? ------------------------------------------------------------------------ [2004-03-13 14:10:44] techtonik at tut dot by Why don't you include latest 4.0.3 Pdflib in distributive? http://www.pdflib.com/support/faq.html#PHP43xforPDFlib403 The BUG is fixed with it. Current version in latest distributive is 4.0.2 ------------------------------------------------------------------------ [2004-03-08 12:16:33] [EMAIL PROTECTED] Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Thank you for your interest in PHP. This is a bug in the old libpdf libraries, upgrade your library to the latest stable libpdf library avaliable and the bug will go away. ------------------------------------------------------------------------ [2004-03-08 09:10:42] techtonik at tut dot by Description: ------------ pdf_open_image_file() crashes Apache while attempting to load TiFF file. Reproduce code: --------------- <?php $pdf = pdf_new(); pdf_open_file($pdf); pdf_begin_page($pdf, 200, 200); //this function crashes $pdfimage = pdf_open_image_file($pdf, "tiff", "test.tif"); //pdf_place_image($pdf, $pdfimage, 10, 10, 0.6); //pdf_close_image($pdf, $pdfimage); //close it up pdf_end_page($pdf); pdf_close($pdf); $data = pdf_get_buffer($pdf); ?> Actual result: -------------- Start of function trace 0.0021 0 -> pdf_new() C:\MyFiles.XFiles\Numerald\test18.php:5 0.0025 0 -> pdf_open_file(resource(2) of type (pdf object)) C:\wwwroot\test18.php:6 0.0029 0 -> pdf_begin_page(resource(2) of type (pdf object), 200, 200) C:\wwwroot\Numerald\test18.php:11 0.0040 0 -> pdf_open_image_file(resource(2) of type (pdf object), 'tiff', 'test.tif') C:\wwwroot\Numerald\test18.php:14 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=27526&edit=1