note 29773 deleted from function.rename by aidan
| From: | aidan@php.net | Date: | Wed, 23 Mar 2005 01:03:01 +0000 |
| Subject: | note 29773 deleted from function.rename by aidan | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-86810@lists.php.net to get a copy of this message | ||
Note Submitter: quix at free dot fr
----
Renaming directories can be done the same way as renaming files (just like with mv on Linux). So if
"temp" is a directory, rename("temp","new_temp") should work just
fine.