PDF
PHP Manual

PDF_attach_file

(PHP 4 >= 4.0.5, PECL pdflib:1.0-2.1.3)

PDF_attach_file — Add file attachment for current page [deprecated]

说明

bool PDF_attach_file ( resource $pdfdoc , float $llx , float $lly , float $urx , float $ury , string $filename , string $description , string $author , string $mimetype , string $icon )

Adds a file attachment annotation. 如果成功则返回 TRUE,失败则返回 FALSE

This function is deprecated since PDFlib version 6, use PDF_create_annotation() with type=FileAttachment instead.


PDF
PHP Manual