I have a text file on my server that I am writing some data to. I want to completly clear out the text file BEFORE I write to it (erase whatever is there). Is there a way to do this? I'm using php. TIA Tom ===== var me = tom.pixelmech.webDeveloper(); http://www.pixelmech.com/ http://www.maccaws.com/ [Making A Commercial Case for Adopting Web Standards] __________________________________________________ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com