Hi NG.

I have a problem with an php application handling files.
The problem is when my app. opens an excisting file with text in it for
editing.

How do I make sure that the edited (new) text doesn't just get written like
a layer over the old text, so if the new text is shorter than the old one,
the difference between the old and the new text will still appear in the end
of that file?

I've treid rewinding the file, but as the word implies the file is only
rewinded, not emptied which i need.

How can I empty a text file so I can write new text in it?

/Aidal



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

Reply via email to