[thelist] clear a text file using php? [solved]

Tom Dell'Aringa pixelmech at yahoo.com
Mon Dec 30 15:36:01 CST 2002

--- 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!


var me = tom.pixelmech.webDeveloper();

[Making A Commercial Case for Adopting Web Standards]

Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.

More information about the thelist mailing list