ID: 28276 Updated by: [EMAIL PROTECTED] Reported By: motion4u at hotmail dot com -Status: Open +Status: Bogus Bug Type: Directory function related Operating System: Windows 2000 Advanced PHP Version: 4.3.6 New Comment:
Not a PHP bug then. Previous Comments: ------------------------------------------------------------------------ [2004-05-05 04:19:36] motion4u at hotmail dot com 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. ------------------------------------------------------------------------ [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
