PHP: get next n bytes from a text file
<p>I need to iterate over a text file 64 bytes by 64 bytes. I want the next 64 bytes starts just one character after the previous start position! <code>fread($handle,64)</code> starts the next bytes from the end of previous bytes.</p>

<p>sth like this: </p>

<p>text file contains:</p>

<pre><code>abcdefghi
</code></pre>

<p>get every 3 bytes:</p>

<pre><code>abc
bcd
cde
...
</code></pre>
