Date: 01/04/01
- Next message: oboehm <email protected>: "[PHP-DEV] PHP 4.0 Bug #8546: OCIFetchInto ORA-01001 when same db and different user"
- Previous message: Anil Madhavapeddy: "[PHP-DEV] OpenSSL version requirements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 8543
Updated by: sniper
Reported By: helio <email protected>
Old-Status: Assigned
Status: Closed
Bug Type: PDF related
Assigned To: sniper
Comments:
This is bug in PDFLIB 3.03 and was confirmed by
Thomas Merz (the author of pdflib).
--Jani
Previous Comments:
---------------------------------------------------------------------------
[2001-01-03 20:39:28] sniper <email protected>
Actually, this still doesn't work. I'm going to try fix it.
--Jani
---------------------------------------------------------------------------
[2001-01-03 16:01:36] derick <email protected>
This was fixed today in the CVS, please try it out, or use a snapshot from http://snaps.php.net/
---------------------------------------------------------------------------
[2001-01-03 15:58:19] helio <email protected>
I can make in memory pdfs using pdflin in win32+pws platafform.
Whem I tried do do it in my Apache/Linux I got this message
Fatal error: Internal pdflib error: Wrong order of function calls (PDF_open_mem) in /home/apache/htdocs/teste/pdf-teste4.php on line 8
fromm my phpinfo():
PDF Support enabled
PDFLib Version 3.03
CJK Font Support yes
In-memory PDF Creation Support yes
Apache Version Apache/1.3.12
Apache Release 10312100
Apache API Version 19990320
My code:
<?php
$pdf = PDF_open();
PDF_begin_page($pdf, 595, 842);
PDF_set_value($pdf,"compress",9);
if (($image=PDF_open_gif($pdf,"logocentral.gif"))==-1){
echo "Error:Couldn't read image file.n";
}else {
pdf_place_image($pdf, $image, 30, 750, 0.4);
PDF_close_image($pdf,$image);
}
header("Content-type: application/pdf");
PDF_end_page($pdf);
PDF_close($pdf);
exit;
?>
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=8543
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: oboehm <email protected>: "[PHP-DEV] PHP 4.0 Bug #8546: OCIFetchInto ORA-01001 when same db and different user"
- Previous message: Anil Madhavapeddy: "[PHP-DEV] OpenSSL version requirements"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

