note 12213 deleted from ref.pdf by didou
| From: | didou@php.net | Date: | Fri, 08 Aug 2003 21:52:55 +0000 |
| Subject: | note 12213 deleted from ref.pdf by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53694@lists.php.net to get a copy of this message | ||
Note Submitter: dmarsh.nospam@spscc.ctc.edu
----
Same as pete@SoutCoffe.org only more info!!!!
(comments below are true as of 4.0.4pl1).
I kept banging my head on the "samples" that use PDF_new(). If you check
out the source tree comments on PDF_new(), PDF_delete(), and PDF_open_file() and
you will see they are only available in the CVS tree.
The solution:
$fd = fopen("somefile","w"); $pdf = PDF_open($fd);
[...]
PDF_close($pdf); fclose($f);
You can't use PDF_new(), PDF_delete(), or PDF_open_file() until the current CVS
source code tree is branched into a version release at least newer than 4.0.4pl1!