note 34699 added to function.rename

From: Date: Mon, 04 Aug 2003 13:06:33 +0000
Subject: note 34699 added to function.rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-53321@lists.php.net to get a copy of this message
About renaming directory, it works: maxence@gaia:~$ ls foo/ bar/ ls: bar/: No such file or directory foo/: blah toto maxence@gaia:~$ php rename.php X-Powered-By: PHP/4.2.3 Content-type: text/html maxence@gaia:~$ ls foo/ bar/ ls: foo/: No such file or directory bar/: blah toto maxence@gaia:~$ cat rename.php <?php $old = 'foo'; $new = 'bar'; rename($old, $new); maxence@gaia:~$ ---- Manual Page -- http://www.php.net/manual/en/function.rename.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+34699 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+34699&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+34699&report=yes

« previous php.notes (#53321) next »