Answers for "move image or file from one dir to another in php"

PHP
3

php move file

//Use the rename() function.
rename('first_location/image1.jpg', 'new_location/image1.jpg');
Posted by: Guest on July-15-2020

Code answers related to "move image or file from one dir to another in php"

Browse Popular Code Answers by Language