title: How php provide download from remote url (streaming)?
body: <p>I have to provide a download from a remote url where I dont know the file size. </p>
  
  <p>The problems I had so far</p>
  
  <ul>
  <li><p>I dont know the file size</p></li>
  <li><p>Large file about 100 mb</p></li>
  <li><p>When I provide download for user with CURL/readfile/... then PHP wait as long the ful file and then shows Download Window. </p></li>
  </ul>
  
  <p>How can I provide a part, stream, chunky downloader?</p>
  
  <p>I want to do something like on phpmyadmin - if you download a sql export - then it streams also.</p>
  
  <p>Thanks in advance.</p>