title: Streaming a large file using PHP
body: <p>I have a 200MB file that I want to give to a user via download. However, since we want the user to only download this file once, we are doing this:</p>
  
  <pre><code>echo file_get_contents('http://some.secret.location.com/secretfolder/the_file.tar.gz');
  </code></pre>
  
  <p>to force a download. However, this means that the whole file has to be loaded in memory, which usually doesn't work. How can we stream this file to them, at some kb per chunk?</p>