--- Dave Royer <daveroyer at scoutis.com> wrote: > Check out the w and w+ modes you can pass to your fopen() call. > They both > truncate the file before writing data. > > http://www.php.net/manual/en/function.fopen.php w+ did the trick perfectly, thanks! 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