cpdf_save_to_file

(PHP3 >= 3.0.8, PHP4 >= 4.0b4)

cpdf_save_to_file -- pdf ドキュメントをファイルに書きこむ

説明

void cpdf_save_to_file (int pdf document, string filename)

cpdf_save_to_file() 関数は、 メモリ上に作成されたpdfドキュメントをファイルに出力します。 この関数は、cpdf_open() のパラメータとして filename を指定してオープンした場合にはコールする必要はありません。

cpdf_output_buffer(), cpdf_open() も参照下さい。