R: [PHP] pdflib anyone?
| From: | Roberto Sartor | Date: | Fri, 14 Jul 2000 08:38:56 +0000 |
| Subject: | R: [PHP] pdflib anyone? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-6614@lists.php.net to get a copy of this message | ||
With latest php4.0.2dev downloaded (php4-200007120745) and pdflib-3.0.1 i
got:
<?php
$pdffilename = "/tmp/pdfclock.pdf";
$radius = 200;
$margin = 20;
$pagecount = 40;
$fp = fopen($pdffilename, "w");
$info=pdf_get_info("P"); // this is line 8
pdf_set_info_creator($info, "pdfclock.php");
pdf_set_info_author($info, "Uwe Steinmann");
pdf_set_info_title($info, "Analog Clock");
$pdf = pdf_open($fp,$info);
...
...
?>
Starting this php file, I get
Fatal error: Call to undefined function: pdf_get_info() in
/home/httpd/html/privati/pdfclock.php on line 8
When I cut lines 8,9,10 and 11 and make 12 so
$pdf = pdf_open($fp);
then Apache can't find page on server.
Ciao
Roberto
>
> > Has anyone gotten pdflib 3.x installed and working? If
> > so, would you be willing to set me up with an account
> > for a week or so to develop off of?
>
> What's the problem? It is trivial to set up.
>
> -Rasmus
>