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

php 创建目录函数教程

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-08 17:29:231178browse
<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;
}

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