rename() on NT
| From: | Jed R. Brubaker | Date: | Wed, 13 Oct 2004 21:29:35 +0000 |
| Subject: | rename() on NT | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-199439@lists.php.net to get a copy of this message | ||
Can this be done when the file already exists?
cleong at organic dot com says
29-Mar-2000 04:36
rename() doesn't seem to overwrite files on NT. The behavior is an
OS-dependent side-effect I guess.
on the PHP site @ http://us2.php.net/manual/en/function.rename.php
So this this true, or is there some work around that doesn't involve
unlinking the file first?
Thanks!