Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dir = "folder";
- $file = "$dir/$files1[$i]"; // исходная папка
- $newfile = "$dir/bad/$files1[$i]"; // новая папка
- if (!copy($file, $newfile)) {
- echo "не удалось скопировать $file...\n";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement