| Assembler MIPS | Ansi C | Visual Basic | .NET | Java | HTML | ASP | PHP | JavaScript | | HOME |
Create 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. Restituisce TRUE in caso di successo, FALSE in caso di fallimento.
The following example shows how to create a pdf document in memory and how to output it correctly.