How to move a file from one directory to another using PHP
Em 10/10/2022 | Por Digital Apps | 551 visualizações
Learn how to move a file from a folder to another using a PHP script.
$file1 = './folder/filename.pdf';
$file2 = './folder/subfolder/filename.pdf';
rename($file1, $file2);