View Single Post
Old 02-14-2004, 02:52 PM   #11
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. The following means that the exec command is succeeding:

Return value is: 0

However the following means that the output from the exec command has no content:

Result contains: Array ( )

The pdftotext version 1.01 has the following bugs:

Some PDF files contain fonts whose encodings have been mangled beyond recognition. There is no way (short of OCR) to extract text from these files.

As you are able to run pdftotext from bash, I don't think this is the problem.

I would say that there is a problem with PHP trying to exec pdftotext from the script. Perhaps try to upgrade to the latest stable version of PHP or try a different converter.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension.
Charter is offline   Reply With Quote