What would be the correct way to write it then?
I guess i have to use exec() so I wrote:
exec("mv ".$old_path."/ ".$new_path."/")
or die("Error");
old path was "/www/old" amd new path was "/www/new"
Noting happened. I didn't get any errors or anything.
Regards,
Martin