title: Reading/Writing a MS Word file in PHP
body: <p>Is it possible to read and write Word (2003 and 2007) files in PHP without using a COM object?
  I know that I can:</p>
  
  <pre><code>$file = fopen('c:\file.doc', 'w+');
  fwrite($file, $text);
  fclose();
  </code></pre>
  
  <p>but Word will read it as an HTML file not a native .doc file.</p>