antiword error for popen

From: Date: Thu, 22 Sep 2005 01:31:05 +0000
Subject: antiword error for popen
Groups: php.db 
Request: Send a blank email to php-db+get-40339@lists.php.net to get a copy of this message
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

« previous php.db (#40339) next »