Only the 'Full' Acrobat software will be able to display file attachments. All others will either show nothing or display a question mark.
PDF_attach_file
(PHP 4 >= 4.0.5, PECL pdflib >= 1.0.0)
PDF_attach_file — [Obsolète] Ajoute un fichier attaché à la page PDF
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
)
PDF_attach_file() ajoute un fichier attaché à la page courante. Cette fonction retourne TRUE en cas de succès ou FALSE si une erreur survient.
Cette fonction est obsolète depuis la version 6 de la PDFlib, utilisez la fonction PDF_create_annotation() avec le paramètre type=FileAttachment à la place.
PDF_attach_file
ilia at prohost dot org
17-May-2003 11:52
17-May-2003 11:52
