#28276 [Opn]: function rename stopped working after the last Windows update
| From: | motion4u at hotmail dot com | Date: | Wed, 05 May 2004 02:19:37 +0000 |
| Subject: | #28276 [Opn]: function rename stopped working after the last Windows update | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-59233@lists.php.net to get a copy of this message | ||
ID: 28276
User updated by: motion4u at hotmail dot com
Reported By: motion4u at hotmail dot com
Status: Open
Bug Type: Directory function related
Operating System: Windows 2000 Advanced
PHP Version: 4.3.6
New Comment:
Sorry, it is not a bug! simply with this version the folders have to
have more access permissions under windows as before.
I'm sure that it is mentioned somewhere in the documentations, which I
have missed.
You may drop this report if you like.
Previous Comments:
------------------------------------------------------------------------
[2004-05-04 19:28:58] motion4u at hotmail dot com
Description:
------------
The function:
rename($oldname, $newname);
stopped working after the last windows update.
I'm using the rename Function to rename a directory
rename($oldname, $newname);
It doesn't work anymore...
Before making a fool out of myself, I have double checked it.
If you think to answer that it might be that the directory is in use or
a file within it is open ... the answer is no! I have restarted the
server and the client and disconnected the internet plug for it.
Reproduce code:
---------------
just fill in the path to any subdirectory and call
<?
$old_dirname="";
$newdirname="";
$result=rename($old_dirname, $newdirname);
echo $result," old directory name: ",$old_dirname," new directory name:
",$newdirname;
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28276&edit=1