pdf_new() does not work. I don't know why. But the other functions work.
You'll have to use some of the deprecated functions. You should pdf_open
instead of pdf_new(). There are some examples at the bottom of the pdf
reference section of the PHP manual
-
Main screen turn on!
http://jough
Got the same problem, i drop the'/lib/' part too, but nothing better got the
same error message when i try to use the
$pdf = pdf_new();
instruction ==>
Fatal error: Call to undefined function: pdf_new() in
/sites/soledon/www/htdocs/dopdf.php3 on line 6
the PDF section of the phpinfo() function
On Thu, 8 Mar 2001, Jough wrote:
>./configure --with-mysql=/usr/local/
>--with-apache=/home/jough/src/apache_1.3.19/ --enable-track-vars
>--with-pdflib=/usr/local/lib/ --with-jpeg-dir=/usr/lib/
>--with-tiff-dir=/usr/local/lib/
Leave those '/lib/' parts out of the paths. It should work then.
--J
Okay, so I've compiled PHP with pdflib into Apache a few times and haven't
gotten any error messages but when I try to use the pdf functions I get an
error message like this:
Fatal error: Call to undefined function: pdf_open_file() in
/usr/local/apache/htdocs/index.php on line 2
I've also tried t