info pdf_get_info
(string filename);The PDF_get_info() function will return a default info structure for the pdf document. It can be filled with appropriate information like the author, subject etc.
Example 1. PDF_get_info <?php $info = PDF_get_info(); PDF_set_info_creator($info, "Name of Author") ?> |
See also PDF_set_info_creator(), PDF_set_info_subject().