Link to home
Start Free TrialLog in
Avatar of JefferyBraun
JefferyBraun

asked on

PHP Copying files

I need to make a copy a a file and a folder using php.

the situation -

I have a file called 12345.json and a folder called 12345 with several images

I want to copy the file 12345.json to 12345-1.json and the folder to 12345-1

Can anyone please point me in the right direction.

Thank You.
ASKER CERTIFIED SOLUTION
Avatar of Dan Craciun
Dan Craciun
Flag of Romania image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of JefferyBraun
JefferyBraun

ASKER

Thank You very much. This will do the trick.