PHP-创建文件夹
程序员文章站
2022-04-30 20:55:44
...
[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);
}
}
$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的专栏