note 80590 added to function.rename

From: Date: Wed, 23 Jan 2008 20:08:22 +0000
Subject: note 80590 added to function.rename
Groups: php.notes 
Request: Send a blank email to php-notes+get-135345@lists.php.net to get a copy of this message
I just ran into this problem. Might it even be a bug? If you do rename(null, "somefile") You will rename the current execution directory to "somefile" I mispelled the variable name I was using and my directory appeared to be deleted until I found it had been moved. ---- Server IP: 208.69.120.35 Probable Submitter: 65.103.231.165 ---- Manual Page -- http://www.php.net/manual/en/function.rename.php Edit -- https://master.php.net/note/edit/80590 Del: integrated -- https://master.php.net/note/delete/80590/integrated Del: useless -- https://master.php.net/note/delete/80590/useless Del: bad code -- https://master.php.net/note/delete/80590/bad+code Del: spam -- https://master.php.net/note/delete/80590/spam Del: non-english -- https://master.php.net/note/delete/80590/non-english Del: in docs -- https://master.php.net/note/delete/80590/in+docs Del: other reasons-- https://master.php.net/note/delete/80590 Reject -- https://master.php.net/note/reject/80590 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#135345) next »