/ Published in: PHP
Copy all files and directories from src to dest.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// copy recursive function cpy($source, $dest){ if($file!="." && $file!=".."){ } cpy($source."/".$file, $dest."/".$file); } else { } } } } else { } }