#37955 [Opn->Fbk]: Problemas con pdf_get_buffer

From: Date: Thu, 29 Jun 2006 07:24:52 +0000
Subject: #37955 [Opn->Fbk]: Problemas con pdf_get_buffer
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98935@lists.php.net to get a copy of this message
ID: 37955 Updated by: derick@php.net 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

« previous php.bugs (#98935) next »