note 25799 added to function.rename

From: Date: Sun, 06 Oct 2002 23:13:33 +0000
Subject: note 25799 added to function.rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-37727@lists.php.net to get a copy of this message
baghera said earlier that rename would not work in a directory different than the script however this is easily delt with by changing the working directory (i.e. chdir("directory of file");). Just don't forget to change back to the original directory upon script completion. -- http://www.php.net/manual/en/function.rename.php http://master.php.net/manage/user-notes.php?action=edit+25799 http://master.php.net/manage/user-notes.php?action=delete+25799 http://master.php.net/manage/user-notes.php?action=reject+25799

« previous php.notes (#37727) next »