note 80590 rejected from function.rename by felipe
| From: | felipe@php.net | Date: | Wed, 23 Jan 2008 21:43:40 +0000 |
| Subject: | note 80590 rejected from function.rename by felipe | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-135346@lists.php.net to get a copy of this message | ||
Note Submitter: mike at kineticoding dot com
----
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.