Redtaco4x4 All American 1410 Posts user info edit post |
I have a text file called say "file.txt" and I'm writing a small PHP script to open the file and write stuff in it. Well, this first part works great, but not exactly how I want it. I need to remove the last 2 characters from the end of the file and then add what I need to the file for it to work. Can this be done with the trim function? If so, how should it be formatted? Thanks! 3/8/2006 2:57:05 PM |