ID: 30836 Updated by: [EMAIL PROTECTED] Reported By: Peter dot Albertsson at naturesown dot se -Status: Open +Status: Closed Bug Type: Documentation problem Operating System: WinXP SP2 PHP Version: 5.0.2 New Comment:
This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2005-01-12 23:48:03] [EMAIL PROTECTED] cpdf_place_inline_image() is available only if PHP was compiled with GD 1.3.x. Making it documentation problem, as it should be stated somewhere in the docs. ------------------------------------------------------------------------ [2004-11-19 13:26:54] Peter dot Albertsson at naturesown dot se Description: ------------ I get a fatal error: Fatal error: Call to undefined function: cpdf_place_inline_image() even though php_cpdf.dll is loaded and other cpdf functions are working. Reproduce code: --------------- $cpdf = cpdf_open(0); cpdf_page_init($cpdf, 1, 0, 842, 595, 1.0); $logo = imagecreatefromgif(dirname(__FILE__) . '/gfx/scandinavia_logo.gif'); cpdf_place_inline_image($cpdf, $logo, 50, 700, 0, imagesx($logo), imagesy($logo), 0); Actual result: -------------- Fatal error: Call to undefined function: cpdf_place_inline_image() ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=30836&edit=1