Home >php教程 >php手册 >什么函数能够把文件从一个目录下转移到另外一个目

什么函数能够把文件从一个目录下转移到另外一个目

WBOY
WBOYOriginal
2016-06-13 09:53:48846browse

问:什么函数能够把文件从一个目录下转移到另外一个目录下?
答:PHP中没有直接转移的函数。不过你可以试着这样来做。
rename("a/ss.txt","b/ss.txt");
?>

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn