ID: 30041 User updated by: pdowson at aea9 dot k12 dot ia dot us Reported By: pdowson at aea9 dot k12 dot ia dot us -Status: Feedback +Status: Open Bug Type: PDF related Operating System: FreeBSD 5.2 PHP Version: 4.3.8 New Comment:
How do I check which pdf extension I am using? Previous Comments: ------------------------------------------------------------------------ [2004-09-23 21:47:08] [EMAIL PROTECTED] Are you using native PHP pdf extension or are you using the one provided by the libpdf developers? ------------------------------------------------------------------------ [2004-09-17 06:34:17] pdowson at aea9 dot k12 dot ia dot us #shell$ php -e pdf.php <font color=ff0000> Warning: pdf_open_file() expects exactly 2 parameters, 1 given in /home/pdf.php on line 7 </font> 4.3.8 #shell$ php -l pdf.php No syntax errors detected in pdf.php ------------------------------------------------------------------------ [2004-09-16 10:30:35] [EMAIL PROTECTED] Try this script and paste the output here: <?php error_reporting(E_ALL); $pdf = pdf_new(); pdf_open_file($pdf); echo "\n", phpversion(), "\n"; ?> ------------------------------------------------------------------------ [2004-09-15 18:33:22] pdowson at aea9 dot k12 dot ia dot us I am so sure I could spit. #shell$ php -v PHP 4.3.8 (cli) (built: Jul 23 2004 18:01:43) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies ------------------------------------------------------------------------ [2004-09-15 10:50:11] [EMAIL PROTECTED] Are you REALLY using PHP 4.3.8 ? As in PHP _5_ the 2nd parameter IS required. This works fine for me with PHP 4.3.8 with just one parameter. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/30041 -- Edit this bug report at http://bugs.php.net/?id=30041&edit=1