[PHP] Clear file or write to file erasing all old content

2002-12-29 Thread Noodle Snacks
I can't seem to figure out how to write to a file deleting the old content.
Sorry I can't find which function/functions to RTFM




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Clear file or write to file erasing all old content

2002-12-29 Thread jason perkins
on 12/30/02 at 6:02 PM, Noodle Snacks [EMAIL PROTECTED] wrote:


 I can't seem to figure out how to write to a file deleting the old content.
 Sorry I can't find which function/functions to RTFM

It's specified with the mode parameter in the fopen function:

http://www.php.net/manual/en/function.fopen.php



--
Jason Perkins
url - http://www.somebodydial911.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




Re: [PHP] Clear file or write to file erasing all old content

2002-12-29 Thread Noodle Snacks
Thanks,

Its just one of those things I miss sometimes...

Jason Perkins [EMAIL PROTECTED] wrote in message
news:r01050400-1023-A17E17A81BC511D7B4D4000393D5F61C@[192.168.1.3]...
 on 12/30/02 at 6:02 PM, Noodle Snacks [EMAIL PROTECTED] wrote:


  I can't seem to figure out how to write to a file deleting the old
content.
  Sorry I can't find which function/functions to RTFM

 It's specified with the mode parameter in the fopen function:

 http://www.php.net/manual/en/function.fopen.php



 --
 Jason Perkins
 url - http://www.somebodydial911.com/



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php