note 27118 rejected from function.rename by didou
| From: | didou@php.net | Date: | Wed, 24 Sep 2003 09:26:57 +0000 |
| Subject: | note 27118 rejected from function.rename by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-57029@lists.php.net to get a copy of this message | ||
Note Submitter: vbscriptg@btinternet.com
----
What about reanming directories. The only way I can think of renaming a directory is:
1) Making a new directory with the new name
2) Moving all the files from the old directory to the new directory using a recurrsive function.
3) Delete the old directory
Surely there's an easier way??