PHP Velho Oeste 2024

PDF_get_buffer

(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_get_bufferObtener el buffer de salida de PDF

DescripciĆ³n

PDF_get_buffer ( resource $p ) : string

Trae el buffer que contiene la informaciĆ³n PDF generada.

add a note add a note

User Contributed Notes 2 notes

up
0
jorgepedret at gmail dot com
16 years ago
This function can only be used when you are writing a file to memory and not to a physical file. Otherwise you will get an error like this one: Don't fetch buffer contents when writing to file.
up
0
cookiekid at gmail dot com
18 years ago
If you plan to use get_buffer() you have to call open_file() with an
empty filename.
To Top