php教程

PDF_get_buffer

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

PDF_get_bufferGet PDF output buffer

说明

PDF_get_buffer ( resource $p ) : string

Fetches the buffer containing the generated PDF data.

User Contributed Notes

jorgepedret at gmail dot com 20-Mar-2008 07:43
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.
cookiekid at gmail dot com 27-Apr-2006 11:15
If you plan to use get_buffer() you have to call open_file() with an
empty filename.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788