This PHP function copy () is used to copy the files
Example:
<? php
$ from_path = "c: / myfolder / file.txt";
$ to_path = "d: / myfolder / file.txt";
copy ($ from_path, $ to_path); / / copy the files from the initial path to the destination path
?>
Example:
<? php
$ from_path = "c: / myfolder / file.txt";
$ to_path = "d: / myfolder / file.txt";
copy ($ from_path, $ to_path); / / copy the files from the initial path to the destination path
?>
No comments:
Post a Comment
Let's us sharing