PHP File Process Function
PHP File Process Function
6. Copy file
Int copy(string source, string dest);
Example
If(!copy(“questbook.html”, “guestbook.html.bak”)) {
Printf(“Backup guestbook.html failed…<BR>\n”);
}
52. Rename
int rename(string oldname, string newname);