Re: [PHP] Flush file contents

2008-05-15 Thread Andrew Ballard
On Thu, May 15, 2008 at 11:20 AM, Mário Gamito <[EMAIL PROTECTED]> wrote: > Hi, > > How do I open a file and flush all it's contents to insert new ones and > close again ? > > I've browsed through the fopen function aguments and didn't find one that do > this (or I misunderstood one of them). > > A

[PHP] Flush file contents

2008-05-15 Thread Mário Gamito
Hi, How do I open a file and flush all it's contents to insert new ones and close again ? I've browsed through the fopen function aguments and didn't find one that do this (or I misunderstood one of them). Any help would be appreciated. Warm Regards, Mário Gamito -- PHP General Mailing Li