title: php simultaneous file downloads from the same browser and same php script
body: <pre><code>&lt;?php
  
  $filename= './get/me/me_'.rand(1,100).'.zip';
  
  header("Content-Length: " . filesize($filename));
  header('Content-Type: application/zip');
  header('Content-Disposition: attachment; filename=foo.zip');
  
  readfile($filename);
  ?&gt;
  </code></pre>
  
  <p>Hi,
  I have this simple code that forces a random file download, my problem is that if I call the script two or more times from the same browser the second download won't start until the first is completed or interrupted. Thus I can download only one file per time.
  Do you have any clue?</p>