[PHP] empty file's content?

2004-02-16 Thread Mike Mapsnac
How can I empty a file's content through php defined functions? Thanks _ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator. http://click.atdmt.com/AVE/go/onm00200361ave/direct/01/ -- PHP General

Re: [PHP] empty file's content?

2004-02-16 Thread Raditha Dissanayake
Hi, not sure why you want to do that when removing is so much easier but here goes: open the file for writing and close it without writing anything to it. Mike Mapsnac wrote: How can I empty a file's content through php defined functions? Thanks -- Raditha Dissanayake.

Re: [PHP] empty file's content?

2004-02-16 Thread Marek Kilimajer
Mike Mapsnac wrote: How can I empty a file's content through php defined functions? Thanks _ Check out the great features of the new MSN 9 Dial-up, with the MSN Dial-up Accelerator.