RE: [PHP] rename?

From: Date: Wed, 14 Feb 2001 01:39:45 +0000
Subject: RE: [PHP] rename?
Groups: php.general 
Request: Send a blank email to php-general+get-39551@lists.php.net to get a copy of this message
I think you can rename it by using a full path. Have you tried it yet? Cheers, Maxim Maletsky -----Original Message----- From: Miguel Loureiro [mailto:m.loureiro@distrim2.pt] Sent: Wednesday, February 14, 2001 12:02 AM To: php-gen Subject: [PHP] rename? 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 >

« previous php.general (#39551) next »