delete file contents (sorry if i posted this twice, problem with signing up)
| From: | DigitalKoala | Date: | Tue, 11 Dec 2001 17:03:48 +0000 |
| Subject: | delete file contents (sorry if i posted this twice, problem with signing up) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-14935@lists.php.net to get a copy of this message | ||
Hi Everyone,
I'm running a script that automatically reads lines from
/var/mail/myaccount, parses the lines then insert specific items into a
database.... this is in a loop
What i want to do is then delete the contents of the file, but not the file
itself...can you tell me the best way to do this?
many thanks
anna