Say I\'ve got a file test.php in foo directory as well as bar. How can I replace bar/test.php with foo/test.php
test.php
foo
bar
bar/test.php
foo/test.php
Best way to copy all files from one folder to another using PHP
Copy files completed!"; //output when done ?>