title: Convert HTML to DOC in PHP
body: <p>I am doing html to doc conversion by php header function. Converted file is saved in doc format. But when I edit and save this, it creates a folder with same name as doc file name, which contains three files (themedata.thmx, filelist.xml, colorschememapping.xml).
  I am using following code for doc generation.</p>
  
  <pre><code>header("Cache-Control: ");
  header("Pragma: ");
  header('Content-type: application/vnd.openxmlformats-officedocument.wordprocessingml.document');
  header('Content-Disposition: attachment; filename="'.$filename.'.doc"');
  </code></pre>
  
  <p>I want to convert it in pure doc file, please help to fix this problem.</p>
  
  <p>I have tried many other plugins to convert HTML to DOC for example :-<br>
  1. Pandoc :- It is converting html to docx but not picking style and images from html file.<br>
  2. PHPWord :- I didn't find any option in PHPWord to convert fully styled HTML in to docx. It is   create docx by function (addTable, addCell) which I do not want.<br>
  3. htmltodocx.codeplex.com :- This plugin needs some specific style. It is not supporting all css.<br>
  4. unoconv :- Not found working.<br>
  5. Open office :- not found any functional command.</p>