1

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/");

2 Answers 2

1

You should go about something like this :)

Sign up to request clarification or add additional context in comments.

Comments

0

You might want to try using the PHP functions copy and then unlink.

Comments

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.