rename?
| From: | Miguel Loureiro | Date: | Tue, 13 Feb 2001 15:01:46 +0000 |
| Subject: | rename? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-39428@lists.php.net to get a copy of this message | ||
Hi ,
having a hierarchy of directories, like A\b\d, A\c, I would like to move directory A\b\d to A\c\d ,
to (try) to get it I test something like rename(d,".. / c/d"), but I get " Warning:
Rename failed (No such file or directory) in ", it's necessary create the directory
first, I mean , Mkdir(second_d) ? but the command its RENAME... or there are other, better , ways to
do what I want. Consider that the directory d have lots of things (files and directories...).
T.Y
Best Regards
Miguel Loureiro <m.loureiro@distrim2.pt >