Welcome Guest, Not a member yet? Register   Sign In
About moving a dir to other dir
#1

[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.
#2

[eluser]xwero[/eluser]
try the php function rename
#3

[eluser]Rubiz'[/eluser]
Oh thanx xwero it looks works in a little test, pretty thanx Smile




Theme © iAndrew 2016 - Forum software by © MyBB