On Sun, Jul 21, 2002 at 08:50:15PM -0400, Chris Earle wrote: > Is there any way to fseek (or something to the exact same effect) a file > opened with "a" or "a+"? > > I've tried rewinding and fseeking appendable files, but neither work. > > Opening up in "r+" gives me part of the desired result, but if where I want > to write is not at the end, it writes over things, which I obviously do not > want.
Go to the archives, http://groups.google.com/ and look up the thread on the php-general list entitled "Editing files by line" --Dan -- PHP classes that make web design easier SQL Solution | Layout Solution | Form Solution sqlsolution.info | layoutsolution.info | formsolution.info T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y 4015 7 Av #4AJ, Brooklyn NY v: 718-854-0335 f: 718-854-0409 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php