ID: 37955
Updated by: [EMAIL PROTECTED]
Reported By: ale2009 at hotmail dot com
-Status: Open
+Status: Feedback
Bug Type: PDF related
Operating System: Windows XP
PHP Version: 5.1.5CVS
New Comment:
We only accept bug reports in English.
Previous Comments:
------------------------------------------------------------------------
[2006-06-29 02:57:33] ale2009 at hotmail dot com
Description:
------------
En php5, si al crear el pdf , se utiliza la función pdf_open_file(int
pdf object, string filename), el parámetro filename debe ser "", sino
la página no devuelve resultado y tampoco reporta error.
Quedaría:
$pdf = pdf_new();
if (!pdf_open_file($pdf, "")) {
print error;
exit;
};
.....
PDF_close($pdf);
$data = pdf_get_buffer($pdf);
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37955&edit=1