About moving a dir to other dir - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: About moving a dir to other dir (/showthread.php?tid=14817) |
About moving a dir to other dir - El Forum - 01-16-2009 [eluser]Rubiz'[/eluser] Hi all, I'm with a problem: I need to move a dir with PHP or CI, I'm trying to copy the dir and paste it in a destination dir, with the copy() PHP function, but it seams dont be right. Dont return errors. But I really dont know if I can use this function to move dirs, instead of files. Do'u have some function to help me, or some method, something like? I never did that before, need help, thanx. About moving a dir to other dir - El Forum - 01-16-2009 [eluser]xwero[/eluser] try the php function rename About moving a dir to other dir - El Forum - 01-16-2009 [eluser]Rubiz'[/eluser] Oh thanx xwero it looks works in a little test, pretty thanx |