会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Lover-liu
博客园
首页
新随笔
联系
管理
订阅
2017年9月20日
PHP拷贝目录下的所有文件
摘要: //目录拷贝函数到任意目录function dir1($filename,$dest){ static $dirname; $dirname.=$dest; //连接头(第一层目录) static $dir; //中间变量 if(file_exists($filename)){ //如果文件存在 i
阅读全文
posted @ 2017-09-20 16:43 Lover-liu
阅读(613)
评论(0)
推荐(0)
2017年9月19日
用PHP遍历文件夹,输出文件大小
摘要: function fileone($filename){ static $filesnames; static $file;//静态变量 if(filesize($filename) 0){ $filesnames = scandir($filename); //将文件名转化为数组 foreach(
阅读全文
posted @ 2017-09-19 18:07 Lover-liu
阅读(420)
评论(0)
推荐(0)
2017年5月28日
怎么解决float影响div布局问题
摘要: 可以用一个空的div块儿,设置class为clear <div class="clear"><div> 然后在使用了float浮动的块儿的末尾加上这个空div块 再设置它的属性 <style> .clear{ clear:both; } <style> 这样就可以清楚以上div中设置的效果了。。。
阅读全文
posted @ 2017-05-28 18:29 Lover-liu
阅读(1787)
评论(1)
推荐(0)