note 87359 deleted from function.rename by danbrown

From: Date: Tue, 02 Dec 2008 14:44:10 +0000
Subject: note 87359 deleted from function.rename by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-147522@lists.php.net to get a copy of this message
Note Submitter: jamida ---- rename works as described and NOT like the UNIX mv command. For example, moving a file to a folder will fail as in this example: $oldfile = "$olddir/$file"; rename($oldfile,$newdir); however $oldfile = "$olddir/$file"; $newfile = "$newdir/$file"; rename($oldfile,$newdir); works as advertised.

« previous php.notes (#147522) next »