Im trying to make a shout box that displays posts in a gd image that i plan to use in my sig on my forum.
The problem i am having is the php script posts to the bottom of the .txt file.
This means after 6 posts any new posts are not visible because they have dissappeared off the bottom of the image.
To fix this problem i need to either make the php post the posts to the top of the text file (while moving other posts down, not overwriting) or make the script that produces the image read only the last 6 posts from the .txt file.
I dont know how to do either.
Any help would be great.
This is the script that posts the 'shouts' to the txt file.