Re: Read/Write Pieces of a Binary File
| From: | lallous | Date: | Fri, 13 Sep 2002 09:21:24 +0000 |
| Subject: | Re: Read/Write Pieces of a Binary File | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-116241@lists.php.net to get a copy of this message | ||
what have you already tried?
can you show some code?
Elias
"Bob Bowker" <bowker@iNetWebInc.com> wrote in message
news:5.1.0.14.2.20020912091817.01ef3c50@localhost...
> I have a large binary file (50+ megs) ... I want to read the first 1k
> bytes, make changes, and write a new file with the new 1k bytes plus the
> balance of the original file unchanged.
>
> I've tried several different ways of doing this, but nothing works, and
I'm
> out of ideas - any suggestions as to the sequence I should be following?
>
> Thanks --
>
> Bob.
>