"Merlin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > HI there, > > I am wondering if it is possible to generate a pdf page with pdflib based on a > existing pdf document. For example using an invoice template and filling in the > values with php.
The last time I checked it (1 year ago) you needed the PDI library of PDFLib to open an existing PDF file and do something with it. Go to the pdflib page and check if this is still the case. I simple workaround would be to place placeholders into your template (e.g.[###filed1###] or something similar) then get the file contents with get_file_contents() or fopen() and replace the placeholders with their values with str_replace(). Hope it helps. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php