How to open and read PHP files have been discussed in previous blog:
Now,we will discuss about copying a php file.
In php,we can Copy files from “source” to “destination”.
Function used :
copy(used in PHP 4, PHP 5)
It takes two parameters as input:
1. Destination path
2. Source Path
copy (string $source, string $destination);
– See full Blog at: How to Copy Files in PHP.
FindNerd: Being an effective C, C#, Java , PHP Developer forum, here you can also post & look for various programming queries along with their solutions including android, java, PHP questions and answers etc.