title: download php (flv ok, pdf ok, zip wrong)
body: <p>I have two big problems with downloading.</p>
  
  <p>First problem: when I download something from my website, if I click somewhere else on my website it does not work with the same browser while I'm downloading. Only if I use another browser while downloading the other pages work fine.</p>
  
  <p>Second problem: the code below (for downloading) works fine with .flv and .pdf files but does not work with .zip files. When I download a .zip file it is unreadable on my computer.</p>
  
  <p>Do you know how to solve these problems?</p>
  
  <pre><code>header('Content-Type: application/force-download');
  header('Content-Type: application/octet-stream');
  header('Content-Type: application/download');       
  header("Content-Disposition: attachment; filename=Media.".$format);
  header("Content-Description: Download GeniusDollars");
  header("Content-Length: ".($size_mb*1024*1024));
  
  ob_clean();
  flush();
  
  readfile($file);
  </code></pre>
  
  <p>Thank you very much!</p>