|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28276 function rename stopped working after the last Windows update
Submitted: 2004-05-04 19:28 UTC Modified: 2004-05-05 10:54 UTC
From: motion4u at hotmail dot com Assigned:
Status: Not a bug Package: Directory function related
PHP Version: 4.3.6 OS: Windows 2000 Advanced
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
50 - 11 = ?
Subscribe to this entry?

 [2004-05-04 19:28 UTC] motion4u at hotmail dot com
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

$result=rename($old_dirname, $newdirname);

echo $result," old directory name: ",$old_dirname," new directory name: ",$newdirname;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2004-05-05 04:19 UTC] 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-05 10:54 UTC]
Not a PHP bug then.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jun 17 05:01:31 2024 UTC