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

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

WBOY
Release: 2016-06-21 09:05:17
Original
940 people have browsed it

函数

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

答:PHP中没有直接转移的函数。不过你可以试着这样来做。

rename("a/ss.txt","b/ss.txt");
?>



Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template