title: PHP to DOC - CSS and images not being applied in doc file
body: <p>I am creating doc file with the help of PHP.<br>
   <strong>doc.php:</strong></p>
  
  <pre><code>&lt;?php
  header("Content-type: application/vnd.ms-word");
  header("Content-Disposition: attachment;Filename=document_name.doc");
  
  echo "&lt;html&gt;";
  echo "&lt;meta http-equiv='\Content-Type\' content='\text/html'; charset='Windows-1252'&gt;";
  echo "&lt;head&gt;&lt;link rel='stylesheet' type='text/css' href='../doc.css'&gt;&lt;/head&gt;"; 
  echo "&lt;body&gt;";
  echo "&lt;b&gt;My first document&lt;/b&gt;&lt;img src='../images/logo.png'&gt;";
  echo "&lt;/body&gt;";
  echo "&lt;/html&gt;";
  ?&gt;
  </code></pre>
  
  <p>After executing this file  'document_name.doc' file is being created but without applying css and image.</p>
  
  <p>Any solution?</p>