fdf_close
fdf_enum_values
FDF 함수 목록
PHP Manual

# fdf_create

(PHP 4, PHP 5)

fdf_create — Create a new FDF document

### 설명

resource fdf_create ( void )

Creates a new FDF document.

This function is needed if one would like to populate input fields in a PDF document with data.

### 반환값

Returns a FDF document handle, or `FALSE` on error.

### 예제

Example #1 Populating a PDF document

`<?php
$outfdf = fdf_create();
fdf_set_value($outfdf, "volume", $volume, 0);
fdf_set_file($outfdf, "http:/testfdf/resultlabel.pdf");
fdf_save($outfdf, "outtest.fdf");
fdf_close($outfdf);
Header("Content-type: application/vnd.fdf");
$fp = fopen("outtest.fdf", "r");
fpassthru($fp);
unlink("outtest.fdf");
?>`

### 참고

- fdf_close() - Close an FDF document
- fdf_save() - Save a FDF document
- fdf_open() - Open a FDF document

fdf_close
fdf_enum_values
FDF 함수 목록
PHP Manual