PDF Functions
PHP Manual

PDF_attach_file

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

PDF_attach_fileAdd file attachment for current page [deprecated]

Description

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. Returns TRUE on success or FALSE on failure.

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


PDF Functions
PHP Manual

copyright  ©  November 20 2019 sean dreilinger url: https://durak.org/sean/pubs/software/php-7.0.0/function.pdf-attach-file.html