antiword error for popen

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have an error showing;"I can't find the name of your HOME directory"
when I  upload word doc and retrieve text by antiword.
I do not know why I will get kind like error!

code-------------------------------------------------------


$handle = popen("/usr/bin/antiword \"$original_tmp\" -t 2>&1", 'r');
$strbuf = fread($handle, 2048000);
echo $strbuf;     //I can't find the name of your HOME directory
$strbuf = addslashes($strbuf);
pclose($handle);



---yui

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux