Home > Backend Development > PHP Tutorial > PHP-Create Folder_PHP Tutorial

PHP-Create Folder_PHP Tutorial

WBOY
Release: 2016-07-13 17:51:07
Original
863 people have browsed it

[php] $local_doc1="tmp"; 
$local_doc2="qvod"; 
if(file_exists($local_doc1)){ 
     
    }else{ 
        mkdir($local_doc1); 
            if(file_exists($local_doc1."\".$local_doc2)){ 
             
            }else{ 
                mkdir($local_doc1."\".$local_doc2); 
                } 
        } 
$local_doc1="tmp";
$local_doc2="qvod";
if(file_exists($local_doc1)){
 
 }else{
  mkdir($local_doc1);
   if(file_exists($local_doc1."\".$local_doc2)){
   
   }else{
    mkdir($local_doc1."\".$local_doc2);
    }
  }

 

 

摘自 cyuyan112233的专栏

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/478229.htmlTechArticle[php] $local_doc1=tmp; $local_doc2=qvod; if(file_exists($local_doc1)){ }else{ mkdir($local_doc1); if(file_exists($local_doc1.\.$local_doc2)){ }else{ mkdir($local_doc1.\.$local_do...
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 Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template