Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<cpdf_rotatecpdf_save>
Last updated: Tue, 19 Sep 2006

cpdf_save_to_file

(PHP 3 >= 3.0.8, PHP 4, PHP 5 <= 5.0.4)

cpdf_save_to_file -- Writes the pdf document into a file

Description

bool cpdf_save_to_file ( int pdf_document, string filename )

The cpdf_save_to_file() function outputs the pdf document into a file if it has been created in memory. Returns TRUE on success or FALSE on failure.

This function is not needed if the pdf document has been open by specifying a filename as a parameter of cpdf_open().

See also cpdf_output_buffer() and cpdf_open().




<cpdf_rotatecpdf_save>
Last updated: Tue, 19 Sep 2006