View Single Post
Old 01-12-2004, 04:19 AM   #22
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
PHP Code:
define('PHPDIG_PARSE_PDF','/usr/local/bin/pstotext');

echo 
"Is parse pdf executable: " is_executable(PHPDIG_PARSE_PDF) . "<br><br>"

Is parse pdf executable// empty meaning false 
Hi. The "is parse pdf executable" is not returning a result. This is why the expression in the if statement evaluates to false.

From php.net "If a directory is not executable, then you cannot get details on the files in the directory - this includes the permissions."

Try checking that the usr, local, and bin directories, as well as the pstotext file, are all 755 permissions.
__________________
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