ID: 37466
User updated by: jotaylor at hightechinstitute dot edu
Reported By: jotaylor at hightechinstitute dot edu
-Status: Bogus
+Status: Open
Bug Type: *General Issues
Operating System: Windows Server 2003
PHP Version: 5.1.4
New Comment:
The dll is enabled in the PHP.ini file and the dependent DLL, fdftk.dll
is also in the system path. I got this to work using the PHP-CGI.exe
executable, but when I switch the system over to the ISAPI stuff, this
is when it breaks. Even when using the ISAPI stuff, I can use the
command line PHP.exe and execute files with the FDF library functions
with no problem. It seems to only not work for the ISAPI PHP module.
Previous Comments:
------------------------------------------------------------------------
[2006-05-16 21:44:59] [EMAIL PROTECTED]
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)
------------------------------------------------------------------------
[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