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! fread($handle,64) starts the next bytes from the end of previous bytes.
sth like this:
text file contains:
abcdefghi
get every 3 bytes:
abc
bcd
cde
...
use
fseek()to reset the file position indicator before usingfread(). something like this: