Thanks for your help so far guys. I'm happy to now be a member of WebmasterWorld after having browsed the forums for a while now.
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.