Welcome to WebmasterWorld Guest from 188.8.131.52
How exactly are you using it? It doesnt seem like it is used like $_POST and other $HTTP var's. Can you post a couple lines where you are using this? Also have you read PHP: Forms Data Format Functions [us4.php.net] from the PHP Manual?
Here is a piece of code I was trying to get working. After this failed, I just used a simple print statement, which is also shown below.
//snippet of my code
$fdf_doc = fdf_open_string($HTTP_FDF_DATA);
echo "fdf_doc is not a resource\n"
I was using this code in my submit.php file, which is the action tied to the pdf form when the user enters data in the fields and then clicks Submit. When this didn't work (i.e. I got the "fdf_doc is not a resource" message), I decided to try just printing out the $HTTP_FDF_DATA to see what was there:
//print the $HTTP_FDF_DATA
This printed nothing.
I am using a similar submit.php file on another machine and everything is working as expected. This machine has Redhat 9, apache 1.3, and php-4.3.4, while the one with the problems has Mandrake 8.2, apache 1.3, and php-4.3.7. So, I tried removing the php-4.3.7, and installing php-4.3.4. Same result. I guess its possible that I didn't remove something completely from the newer version. How can I be sure that I did?
I have read the PHP FDF manual, but haven't found the help I needed there.