note 629 modified in PDF functions by ronabop
| From: | ronabop@php.net | Date: | Sat, 09 Sep 2000 03:26:37 +0000 |
| Subject: | note 629 modified in PDF functions by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4600@lists.php.net to get a copy of this message | ||
OK, here's the cvs documentation on the pdf_close problem:
1.16 Wed Jan 6 6:18:26 Canada/Eastern 1999 UTC by rasmus
From looking at the pdflib sources the PDF_close() library function calls PDF_finalize() which does
an fclose() on the descriptor. So the file is closed which means we need to delete it from the file
descriptor list
Which, I think is done thru php3's fclose(). I solved this by building pdflib with line 190 of
p_basic.c commented out for the purpose of building into php. I don't know if this is the
suggested fix, but it works dandy for me. :)
http://www.php.net/manual/pdf-functions.php