Page 1 of 1

How to delete all content in file?

Posted: Fri Mar 24, 2006 5:02 pm
by destiny_cores
How to coding for delete all content or all lines in file?

Thanks you

Posted: Fri Mar 24, 2006 5:05 pm
by hawleyjr
This should help:
http://us3.php.net/manual/en/function.file.php


Edit: oops, this is what you're really looking for:

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

Posted: Fri Mar 24, 2006 11:41 pm
by pedrotuga
hawleyjr wrote:This should help:
http://us3.php.net/manual/en/function.file.php


Edit: oops, this is what you're really looking for:

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

mmm.. linking to a .php file... dont think that him or anybody will get what one looks for ;)

please change the extention to something else

Posted: Fri Mar 24, 2006 11:46 pm
by feyd
those are manual pages pedrotuga.

Posted: Fri Mar 24, 2006 11:48 pm
by pedrotuga
ops.. sorry then... my mistake :oops: