Answers for "take files from one folder and move to another folder in php"

PHP
0

take files from one folder and move to another folder in php

$source_file = 'foo/image.jpg';
$destination_path = 'bar/';
rename($source_file, $destination_path . pathinfo($source_file, PATHINFO_BASENAME));
Posted by: Guest on October-22-2021

Code answers related to "take files from one folder and move to another folder in php"

Browse Popular Code Answers by Language