文字

PDF_get_buffer

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

PDF_get_bufferGet PDF output buffer

说明

string PDF_get_buffer ( resource $p )

Fetches the buffer containing the generated PDF data.

用户评论:

[#1] jorgepedret at gmail dot com [2008-03-20 07:43:10]

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.

[#2] cookiekid at gmail dot com [2006-04-27 23:15:04]

If you plan to use get_buffer() you have to call open_file() with an
empty filename.

上一篇: 下一篇: