The Server Pages
:: TSP Menu
- Home
- Authors
- Glossary
- RSS Feed

:: Servers
- CPanel
- Hosting
- Linux
- Windows

:: Webmaster
- Databases
- Design
- PHP
- Search Engines

:: Scripts
- Scripts

:: Documentation
- PHP Manual

:: Other
- Errors & Solutions
- TechPunt
- Wojjie

search for in the

PDF_get_errmsg> <PDF_get_apiname
[edit] Last updated: Sat, 12 May 2012

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
jorgepedret at gmail dot com 20-Mar-2008 02: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 06:15
If you plan to use get_buffer() you have to call open_file() with an
empty filename.

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