Home >Backend Development >PHP Tutorial >创建目录函数_PHP

创建目录函数_PHP

WBOY
WBOYOriginal
2016-06-01 12:30:23804browse



创建目录函数



 if(mkdir("myDir1", 0777))  //创建目录的函数
 {
  print("目录创建成功");  //目录建立成功
 }
 else
 {
  print("目录建立失败!");  //目录建立失败
 }
?>


/upimg/php/20070123/11E5513SO02bD.jpg
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