PHP 5.6.7 is available


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

PDF_get_bufferPDF 出力バッファを取得する


string PDF_get_buffer ( resource $p )

生成された PDF データを含むバッファの内容を取得します。

add a note add a note

User Contributed Notes 2 notes

cookiekid at gmail dot com
8 years ago
If you plan to use get_buffer() you have to call open_file() with an
empty filename.
jorgepedret at gmail dot com
7 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.
To Top