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_set_file - Manual
[go: Go Back, main page]

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

search for in the

fdf_set_flags" width="11" height="7"/> <fdf_set_encoding
Last updated: Fri, 29 Aug 2008

view this page in

fdf_set_file

(PHP 4, PHP 5)

fdf_set_fileFDF データを表示する PDF ドキュメントを設定する

説明

bool fdf_set_file ( resource $fdf_document , string $url [, string $target_frame ] )

フォームの結果を表示する PDF ドキュメントとして、もとのフォームとは別のものを指定します。

パラメータ

fdf_document

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

url

絶対 URL で指定する必要があります。

target_frame

このパラメータを使用して、ドキュメントを表示するフレームを指定します。 このパラメータのデフォルト値を fdf_set_target_frame() で指定することもできます。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。

例1 FDF データを 2 番目のフォームに渡す

<?php
  
/* Adobe FDF の content type を設定します */
  
fdf_header();

  
/* fdf を開始します */
  
$fdf fdf_create();

  
/* "foo" フィールドに、値 "bar" を設定します */
  
fdf_set_value($fdf"foo""bar");

  
/* "fdf_form.pdf" を使用して fdf を表示することをクライアントに通知します */
  
fdf_set_file($fdf"http://www.example.com/fdf_form.pdf");

  
/* fdf を出力します */
  
fdf_save($fdf);

  
/* 後始末を行います */
  
fdf_close($fdf);
?>



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

fdf_set_flags" width="11" height="7"/> <fdf_set_encoding
Last updated: Fri, 29 Aug 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites