note 16445 deleted from function.rename by didou
| From: | didou@php.net | Date: | Wed, 24 Sep 2003 09:27:47 +0000 |
| Subject: | note 16445 deleted from function.rename by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57033@lists.php.net to get a copy of this message | ||
Note Submitter: php@angelfall.net
----
Overwriting is the correct and expected behavior in *nix. From "man rename":
Rename() causes the link named from to be renamed as to. If to exists,it is first removed.
Both from and to must be of the same type (that is, both directories or both non-directories), d
must reside on the same file system.
--Liam