Link Details

Link 93403 thumbnail
User 225135 avatar

By skoop
via z01d.com
Published: Jul 09 2008 / 05:48

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.
  • 10
  • 1
  • 878
  • 228

Comments

Add your comment
User 312105 avatar

uznick.com replied ago:

0 votes Vote down Vote up Reply

Anyone, who can read official manual has no need for this post.

User 209464 avatar

willcode4beer replied ago:

0 votes Vote down Vote up Reply

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?

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (9)



Voters Against This Link (1)