> 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 [EMAIL PROTECTED] address is an endangered species -- Use
[EMAIL PROTECTED]
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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to