note 27118 added to function.rename

From: Date: Sat, 23 Nov 2002 14:16:16 +0000
Subject: note 27118 added to function.rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-39895@lists.php.net to get a copy of this message
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?? -- http://www.php.net/manual/en/function.rename.php http://master.php.net/manage/user-notes.php?action=edit+27118 http://master.php.net/manage/user-notes.php?action=delete+27118 http://master.php.net/manage/user-notes.php?action=reject+27118

« previous php.notes (#39895) next »