Re: overwrite .txt.file?
| From: | bahwi | Date: | Tue, 19 Nov 2002 07:07:45 +0000 |
| Subject: | Re: overwrite .txt.file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-125036@lists.php.net to get a copy of this message | ||
http://www.php.net/fopen
Just open the file like any other time, using w+ (I believe, check the link above) and then use fputs
http://www.php.net/fputs
That'll overwrite it. You may want to check it to see if it exists first,
http://www.php.net/file_exists
--Joseph Guhlin
http://www.josephguhlin.com/
Web Programming / Unix Administration
PHP/Perl/MySQL/Unix
Tox wrote:
i seeked for the command that would have let me overwrite .txt file, but i didn't find it. is there such an opportunity? Tox tox@ut.ee Estonia, Tartu