title: php method to read only part of remote file
body: <p>I am working with <code>file_get_contents</code> getting remote files and processing them. Unfortunately the files are quite large and I only need a small segment from each. I know exactly from what offset I would need to read and the length of it but reading the php manual it seems that this is possible with <code>file_get_contents</code> only on local files.</p>
  
  <p>Is there a method which doesn't download the whole file?</p>