title: HTTP header for sending PDF, problem in Firefox
body: <p>In windows when i save a pdf with firefox adobe reader plugin ocurs this problem. 
  The file saved is: <code>http://www.example.com/opendocument.php_doc=._docs_doc01</code></p>
  
  <p>My headers are:</p>
  
  <pre><code>header('Content-type: application/pdf');
  //header('Content-Disposition: inline; filename=doc01.pdf');
  header("Content-Transfer-Encoding: binary");
  header("Content-Length: ".filesize($pdf));
  </code></pre>
  
  <p>Original call is:</p>
  
  <pre><code>http://www.example.com/opendocument.php?doc=./docs/doc01.pdf
  </code></pre>
  
  <p>I'm not interest on attachment header. I must open into the website, not download o  external window.</p>
  
  <p>Any idea?</p>