note 34699 deleted from function.rename by didou
| From: | didou@php.net | Date: | Mon, 04 Aug 2003 13:43:31 +0000 |
| Subject: | note 34699 deleted from function.rename by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53323@lists.php.net to get a copy of this message | ||
Note Submitter: maxence@pontapreta.net
----
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:~$