RE: [PHP] File Random Access
| From: | Ford, Mike [LSS] | Date: | Wed, 30 Oct 2002 15:11:26 +0000 |
| Subject: | RE: [PHP] File Random Access | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-122028@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Rick Emery [mailto:remery@emeryloftus.com]
> Sent: 30 October 2002 14:35
>
> You are correct. In fact, simply r+ works; I just tried it.
> Thanks
Yes, but that's not guaranteed to be binary-safe on Windows -- if your data happens to include
null bytes, you might get unexpected file truncations (I think...)!
Cheers!
Mike
---------------------------------------------------------------------
Mike Ford, Electronic Information Services Adviser,
Learning Support Services, Learning & Information Services,
JG125, James Graham Building, Leeds Metropolitan University,
Beckett Park, LEEDS, LS6 3QS, United Kingdom
Email: m.ford@lmu.ac.uk
Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211