Jump to content

Renaming issue - Bug or normal behavior


krytikal

Recommended Posts

I am trying to rename a folder and its sub folder at the same time in a parent folder. To clear things up here is a snippet

<?php

      rename("../folder1old/subfolder2old", "../folder1new/subfolder1new");

?>

As you can see I am renaming two folders at the same it. Is there a better way of doing it because, at the moment I am getting an error:

 

Warning rename( blah ) : No error in C:\...

 

Thanks

Link to comment
https://forums.phpfreaks.com/topic/205682-renaming-issue-bug-or-normal-behavior/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.