Re: Strange behaviour while adding a line at the BOF

From: Date: Wed, 01 Aug 2001 20:13:10 +0000
Subject: Re: Strange behaviour while adding a line at the BOF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-60812@lists.php.net to get a copy of this message
> I'm going nuts trying to add a line of data in the beginning of a text > file. Files are like cassette tapes. You can't add something at the beginning without re-copying everything somewhere else first, and then back again. You should either: 1. Add to the end, and just make your reader/display program work backwords. This only works for small files. 2. Use a database instead. -- WARNING richard@zend.com address is an endangered species -- Use ceo@l-i-e.com Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm Volunteer a little time: http://chatmusic.com/volunteer.htm

« previous php.general (#60812) next »