[thelist] clear a text file using php? [solved]
Tom Dell'Aringa
thelist at lists.evolt.org
Mon Dec 30 15:36:01 2002
--- Dave Royer <daveroyer at scoutis.comrote:
> 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