Home > php教程 > PHP源码 > php 创建目录函数教程

php 创建目录函数教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-08 17:29:23
Original
1182 people have browsed it
<script>ec(2);</script>

php 创建目录函数教程

function DoMkdir($path){
 global $public_r;
 //不存在则建立
 if(!file_exists($path))
 {
  //安全模式
  if($public_r[phpmode])
  {
   $pr[0]=$path;
   FtpMkdir($ftpid,$pr);
   $mk=1;
  }
  else
  {
   $mk=@mkdir($path,0777);
  }
  @chmod($path,0777);
  if(empty($mk))
  {
   printerror("NotMkdir","history.go(-1)");
  }
 }
 return true;
}

Related labels:
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