Reputation: 2654
Can anyone please tell me how to move file(s) into a dir in PHP? I did the following and it doesn't work.
exec("temp/$file ../public/");
Upvotes: 1
Views: 278
Reputation: 6130
You might want to try using the PHP functions copy and then unlink.
Upvotes: 0
Reputation: 382881
You should go about something like this :)