I'm trying to get AbiWord program to do the job for me but it seems I'm not calling it properly in php. I've based it from one of the answers in this question: Convert .doc to html in php
What I'm trying to do is to execute abiword command using the exec() function in php:
<?php
exec('AbiWord --to=html bpls.docx');
?>
It doesn't error on me so I do not know what's wrong with this code. I've already added the abi word bin folder(where AbiWord.exe is located) into the environment variables in windows.
The page http://www.abisource.com/wiki/AbiCommand says that AbiCommand at the moment supports only Unix-like systems. So, you need to find what command line options does AbiWord accepts on Windows (they are not the same as on unix-like systems) and use them instead. May be something like AbiWord -h
or AbiWord /?
will give you list of options