title: opening a word document in php (.doc)
body: <p>I want to open a .doc file and print out using php (or only count lines and words). I tried with the COM library, but it didn't work (I'm using linux server). I also tried installing <code>Antiword</code> but it doesn't work, because in my server <code>safe_mode=off</code> and i can't change it.
  Are there any solution, how can I open and view this file or simple count how many lines or words does it have? </p>