Description
bool
pdf_open_file ( resource p, string filename )
Creates a new PDF file using the supplied file name.
If filename is empty the PDF document
will be generated in memory instead of on file. The result
must be fetched by the client with the
pdf_get_buffer() function.
Parameter filename is optional before
PHP 4.3.5 or with PDFlib less than 5.
Returns TRUE on success or FALSE on failure.
This function is deprecated since PDFlib version 6, use
pdf_begin_document() instead.