note 72310 deleted from function.rename by cmb

From: Date: Sun, 22 Dec 2019 09:09:57 +0000
Subject: note 72310 deleted from function.rename by cmb
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-213598@lists.php.net to get a copy of this message
Note Submitter: jeppe at bundsgaard dot net ---- Until recently you could end the dirname your wanted to rename to with a slash: rename("mydir/my2nddir/","mydir/my3nddir/") But now it doesn't work (php warns that it is unable to access mydir/my3nddir/). So always leave out a final slash in your dirname: rename("mydir/my2nddir","mydir/my3nddir") The same goes for mkdir().

« previous php.notes (#213598) next »