|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-06-29 07:24 UTC] derick@php.net
[2006-07-07 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 21:00:02 2025 UTC |
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);