title: Is there a good implementation of partial file downloading in PHP?
body: <p>I'm writing a PHP script that allows the user to download a file. Basically the idea is to prevent the file being downloaded more than X times, since it is paid content, and the link should not be spread around.</p>
  
  <p>Since the files will be pretty large, it should be good to implement resuming. I've read <a href="http://tools.ietf.org/id/draft-ietf-http-range-retrieval-00.txt" rel="noreferrer">the standard</a>, but it's pretty long and allows for some flexibility. Since I need to get it done quickly, I'd prefer a stable, tested implementation of this feature.</p>
  
  <p>Can anyone point me to such a a script?</p>