dismiss Step into the future! Click here to switch to the beta php.net site
downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

PDF_get_errmsg> <PDF_get_apiname
[edit] Last updated: Fri, 28 Jun 2013

view this page in

PDF_get_buffer

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

PDF_get_bufferGet PDF output buffer

Description

string PDF_get_buffer ( resource $p )

Fetches the buffer containing the generated PDF data.



add a note add a note User Contributed Notes PDF_get_buffer - [2 notes]
up
0
jorgepedret at gmail dot com
5 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
7 years ago
If you plan to use get_buffer() you have to call open_file() with an
empty filename.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites