I don’t know how deleting the last character of the string goes with the Flash chat, but you can use substr() function to do that… Get the whole content of the text file into the variable and apply the substr() function…
Here is the example of how you can do according to the PHP manual…
it causes a lot of traffic, about 1 meg per 10 minutes, so i do not want to run it on my own server, but in the next few days ill have my own domain and will transfer my site to a professional webhost-company ( www.webserver.at ).