(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)

PDF_attach_fileAdd 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.

add a note add a note

User Contributed Notes 1 note

ilia at prohost dot org
19 years ago
Only the 'Full' Acrobat software will be able to display file attachments. All others will either show nothing or display a question mark.
To Top