Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
PHP: fdf_open - Manual
[go: Go Back, main page]

PHP  
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
search for in the  
<fdf_open_stringfdf_remove_item" width="11" height="7"/>
view the version of this page
Last updated: Sun, 07 May 2006

fdf_open

(PHP 3 >= 3.0.6, PHP 4, PHP 5)

fdf_open -- FDF ドキュメントをオープンする

説明

resource fdf_open ( string filename )

fdf_open() 関数は、フォームデータを有する ファイルをオープンします。このファイルは、PDF フォームから返されたものか あるいは fdf_create() および fdf_save() を使用して作成されたものである必要があります。

PDF フォームの POST 要求の結果を処理するには、 $HTTP_FDF_DATA の内容をファイルに書き込み、 fdf_open() を使用してそれを読み込みます。 PHP 4.3 以降では、fdf_open_string() を使用することで 一時ファイルの作成と削除を自動的に処理することができます。

例 1. フォームデータをアクセスする

<?php
// FDF データをテンポラリファイルに保存します
$fdffp = fopen("test.fdf", "w");
fwrite($fdffp, $HTTP_FDF_DATA, strlen($HTTP_FDF_DATA));
fclose($fdffp);

// テンポラリファイルをオープンし、データを評価します
$fdf = fdf_open("test.fdf");
/* ... */
fdf_close($fdf);
?>

fdf_open_string()fdf_close()fdf_create() および fdf_save() も参照ください。



add a note add a note User Contributed Notes
fdf_open
There are no user contributed notes for this page.

<fdf_open_stringfdf_remove_item" width="11" height="7"/>
 Last updated: Sun, 07 May 2006
show source | credits | sitemap | contact | advertising | mirror sites 
Copyright © 2001-2006 The PHP Group
All rights reserved.
This mirror generously provided by: PacketBusiness, Inc.
Last updated: Sun Sep 3 07:23:46 2006 JST