php 7 move_uploaded_file code example
Example: php move file
//Use the rename() function.
rename('first_location/image1.jpg', 'new_location/image1.jpg');
//Use the rename() function.
rename('first_location/image1.jpg', 'new_location/image1.jpg');