Re: Stream Seeking
| From: | Hannes Magnusson | Date: | Wed, 26 Sep 2007 08:35:11 +0000 |
| Subject: | Re: Stream Seeking | ||
| References: | 1 | Groups: | php.webmaster |
| Request: | Send a blank email to php-webmaster+get-132@lists.php.net to get a copy of this message | ||
Hi Pukel
On 9/25/07, Pukel Pukelov <pukel@abv.bg> wrote:
> Hello,
> I have one really big problem. How can I seek a stream?
> I use file_get_contents, stream_get_contents but I always get the error:
> "Stream does not support seeking in...".
> Then what supports seeking!? The problem is that I want to read a file in parts, from 0 to
> 28000 byte, then from 28001 to 56000 and so on, but the file isn't local. It is on a different
> server.
> What should I do?
Please ask support questions on our "General user list", see
http://php.net/mailinglists
-Hannes