The other day I wanted to convert MS Word document to text on my VPS. I knew that someone somewhere has already written a program to do just that, and sure enough, some kind folks on the forum mentioned Antiword. Now all we need is to use that prog in our php script using one of many system program execution functions.
And this is where I hit a roadblock: no matter how I tried, not only I could not get the program to work, I could not even get an error message that would tell me what’s wrong.
Comments
uznick.com replied ago:
Anyone, who can read official manual has no need for this post.
willcode4beer replied ago:
This sounds like an invitation to getting the server hacked.
Don't call shell scripts from any server language. Especially, don't let those scripts receive ANYTHING from the users.
Didn't we learn this back in the perl cgi days?
Voters For This Link (9)
Voters Against This Link (1)