I am using PHP 4.2.3 I believe, and it comes with pdflib, which I am using as an extension.
It was all working fine when I made a blank page, but when I try to add text I get an error. Here is what I have, and the error I got:
<?php
$pdf = pdf_new ();
pdf_open_file ($pdf, 'c:/filename.pdf');
pdf_begin_page ($pdf, 612, 792);
$helvatica_bold = pdf_findfont ($pdf, 'Helvatica-Bold', 'winansi');
pdf_end_page ($pdf);
pdf_close ($pdf);
?>
and the error is:
Fatal error: PDFlib error: Resource configuration file 'pdflib.upr' not found in c:\program files\apache\htdocs\pdf.php on line 9
Any ideas?
Thanks,
Jared