downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

fdf_save> <fdf_remove_item
[edit] Last updated: Fri, 17 May 2013

view this page in

fdf_save_string

(PHP 4 >= 4.3.0, PHP 5)

fdf_save_stringFDF ドキュメントを文字列として返す

説明

string fdf_save_string ( resource $fdf_document )

FDF ドキュメントを文字列として返します。

パラメータ

fdf_document

fdf_create()fdf_open() あるいは fdf_open_string() が返す FDF ドキュメントハンドル。

返り値

ドキュメントを表す文字列、あるいはエラー時に FALSE を返します。

例1 FDF の文字列での取得

<?php
$fdf 
fdf_create();
fdf_set_value($fdf"foo""bar");
$str fdf_save_string($fdf);
fdf_close($fdf);
echo 
$str;
?>

上の例の出力は以下となります。

%FDF-1.2
%âăĎÓ
1 0 obj
<<
/FDF << /Fields 2 0 R >>
>>
endobj
2 0 obj
[
<< /T (foo)/V (bar)>>
]
endobj
trailer
<<
/Root 1 0 R

>>
%%EOF

参考



add a note add a note User Contributed Notes fdf_save_string - [0 notes]
There are no user contributed notes for this page.

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