note 13750 added to ref.filesystem.php
| From: | brokenkitty at php2 dot chek dot com | Date: | Sun, 01 Jul 2001 17:28:55 +0000 |
| Subject: | note 13750 added to ref.filesystem.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14837@lists.php.net to get a copy of this message | ||
d_roma@hotmail.com says you can use:
$old_dir = "c:\\old_dir_name";
$new_dir = "c:\\new_dir_name";
rename ($old_dir,$new_dir);
Although I've never tried it.
http://www.php.net/manual/en/ref.filesystem.php