remove.php
来源:互联网 发布:互联网企业 知乎 编辑:程序博客网 时间:2024/06/18 03:47
<?php/** * Created by PhpStorm. * User: dllo * Date: 16/8/9 * Time: 下午5:49 */header("Content-type:text/html;charset=utf-8");function removeDir($path){ if (is_dir($path)){ $arr = scandir($path); if (count($arr) > 2){ for($i = 2; $i < count($arr); $i++){ $url = $path."/".$arr[$i]; removeDir($url); } } rmdir($path); }else{ unlink($path); }}
0 0
- remove.php
- 20160908关于PHP remove卸载
- remove
- remove
- remove
- remove
- remove
- remove
- Remove
- Remove
- remove
- REMOVE
- Remove
- remove
- remove
- remove()
- Remove
- remove()
- UVa1589 ACM/ICPC 2011 象棋
- 自定义 View 实现类似京东、天猫收件地址的信封分割线控件
- 从零基础接触java第五周第一节
- [git] warning: LF will be replaced by CRLF | fatal: CRLF would be replaced by LF
- 计算访问量.php
- remove.php
- 双向队列
- 2016中国大学生程序设计竞赛网络选拔赛
- iOS 多线程 GCD
- 文章标题 codeforces 706B :Interesting drink( 水)
- Java中的数据类型
- POJ 3660 Cow Contest
- 我的大一acm
- 分享 Retrofit+RxJava+MPAndroidChart 未来一周天气气温预测案例