I tried to use open source software to convert Word and PDF uploads to HTML. When invoked from a shell, the program works fine. When I try to invoke it from Firefox, I get it waiting on the command forever. My PHP safe mode is off, and the full control is granted to the System user on the executable. I also set my firewall exception, to no result. My code is below; those three lines shouldn't be an issue.
Code: Select all
<?php
$command='convertdoc /S resume_sd.doc /T resume_new.html /M2 /C2 /F9';
echo $command;
echo exec($command);
?>
Thanks.