ID: 37466 Updated by: [EMAIL PROTECTED] Reported By: jotaylor at hightechinstitute dot edu -Status: Open +Status: Bogus Bug Type: *General Issues Operating System: Windows Server 2003 PHP Version: 5.1.4 New Comment:
I must enable the module first to be able to use it. And don't forget to read the docs: Note to Win32 Users: In order to enable this module on a Windows environment, you must copy fdftk.dll from the DLL folder of the PHP/Win32 binary package to the SYSTEM32 folder of your windows machine. (Ex: C:\WINNT\SYSTEM32 or C:\WINDOWS\SYSTEM32) Previous Comments: ------------------------------------------------------------------------ [2006-05-16 21:17:31] jotaylor at hightechinstitute dot edu Description: ------------ PHP Scripts can't find the FDF Library functions when using the ISAPI modules. Reproduce code: --------------- function CreateNoticeMBCForm($id) { $fdf = fdf_create(); fdf_set_value($fdf, 'Name', 'Name'); fdf_set_file($fdf, GetCurrentPDF('NoticeMBC', $id)); Header("Content-type: application/vnd.fdf"); fdf_save($fdf); fdf_close($fdf); } //You have to create a PDF File and Insert it into the fdf_set_file function Expected result: ---------------- A PDF file pops up with the text fields populated with the values contained within the FDF file. Actual result: -------------- Fatal error: Call to undefined function fdf_create() in C:\Inetpub\wwwroot\Test\FDFFileGen.php on line 599 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37466&edit=1