摘要: function deldir($path){ //如果是目录则继续 if(is_dir($path)){ //扫描一个文件夹内的所有文件夹和文件并返回数组 $p = scandir($path); //如果 $p 中有两个以上的元素则说明当前 $path 不为空 if(count($p)>2){ 阅读全文
posted @ 2022-07-28 15:51 SHACK元 阅读(186) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>C语言中文网——PHP文件上传</title> </head> <body> <form action="" method="post" enctype="mu 阅读全文
posted @ 2022-07-28 15:18 SHACK元 阅读(88) 评论(0) 推荐(0)