$file = $directory.'/'.$filename; $fileinfo = pathinfo($filename); $content = ""; // doc to text if($fileinfo['extension'] == 'doc') { $content = shell_exec("antiword -m UTF-8.txt -t $file"); }
Is it possible to convert without antiword?
I don't really know other solutions that works and so small...
Is it possible to convert without antiword?
ReplyDeleteI don't really know other solutions that works and so small...
ReplyDelete