php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #37955 Problemas con pdf_get_buffer
Submitted: 2006-06-29 02:57 UTC Modified: 2006-07-07 01:00 UTC
From: ale2009 at hotmail dot com Assigned:
Status: No Feedback Package: PDF related
PHP Version: 5.1.5CVS OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ale2009 at hotmail dot com
New email:
PHP Version: OS:

 

 [2006-06-29 02:57 UTC] 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);


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-06-29 07:24 UTC] derick@php.net
We only accept bug reports in English.
 [2006-07-07 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 21 21:01:30 2024 UTC