PDF_set_info

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

PDF_set_infoFill document info field

Description

bool PDF_set_info ( resource $p , string $key , string $value )

Fill document information field key with value. Returns TRUE on success or FALSE on failure.

Коментарии

<?php
$pdf 
pdf_new();

pdf_open_file($pdf"test.pdf");

// set PDF properties
pdf_set_info($pdf"Author""Martín Gonzalez");
pdf_set_info($pdf"Title""Test PDF");
pdf_set_info($pdf"Creator""Martín Gonzalez");
pdf_set_info($pdf"Subject""Test  PDF");

?>
2008-06-13 12:48:28
http://php5.kiev.ua/manual/ru/function.pdf-set-info.html

    Поддержать сайт на родительском проекте КГБ