I'm trying to use wvWare to convert ms word docs to html documents on the fly. I've installed the latest version of the program on win2k and managed to run it fine using the command prompt.
When I try and run it through a php script, though, it produces a blank html page, i.e. 0 bytes.
The command I used to run it is:
exec('E:\program files\gnuwin32\bin\wvWare.exe -d E:\Inetpub\wwwroot\bible\wordconv E:\Inetpub\wwwroot\bible\test.doc > E:\Inetpub\wwwroot\bible\wordconv\bible.html');
Internet user account has full permissions to cmd.exe, waWare.exe and the .doc file and also the directory where the html file is to be written.
I found the solution!
I had to install the Gnuwin32 portal into e:\gnuwin32 i.e. no spaces in the path like there is when you install into "program files".
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.