the formatting of text file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
phishoutofair
Forum Newbie
Posts: 1
Joined: Thu Jan 20, 2005 2:10 am

the formatting of text file

Post by phishoutofair »

http://pastebin.sekati.com/?id=shoutthi ... f773eb5b-t

On line 50, ive added a &shouts= variable for flash, which needs to be there, but only on the top (most recent) line.

So would there be any way to make it delete the first 8 chars from the file, then add the new line?
Post Reply