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
[EMAIL PROTECTED]
Estonia, Tartu




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to