会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
宋先生
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
2017年9月15日
nginx 环境不支持thinkPHP
摘要: 在linux+Nginx+mysql+PHP 新装的服务器下,不支持重写pathinfo功能 。 需要加入这个代码 让Nginx 支持重写功能 location / { if (!-e $request_filename) { rewrite ^(.*)$ /index.php?s=$1 last;
阅读全文
posted @ 2017-09-15 09:43 宋先生日记
阅读(216)
评论(0)
推荐(0)
2017年9月4日
自动获取客户端的ip地址
摘要: document.writeln('<script src=\"http://pv.sohu.com/cityjson?ie=utf-8\"></script> ');//这是要引入的插件 document.write(returnCitySN["cip"]+','+returnCitySN["cn
阅读全文
posted @ 2017-09-04 14:40 宋先生日记
阅读(290)
评论(0)
推荐(0)
2017年8月10日
css3 样式过度器 Transition
摘要: transition 简写属性,用于在一个属性中设置四个过渡属性。 1. transition 把鼠标指针放到 div 元素上,其宽度会从 100px 逐渐变为 300px: eg: div{width:100px;transition: width 2s;-moz-transition: widt
阅读全文
posted @ 2017-08-10 09:24 宋先生日记
阅读(312)
评论(0)
推荐(0)
2017年7月12日
phpcms公共函数库 总结
摘要: * global.func.php 公共函数库 /** * 返回经addslashes处理过的字符串或数组 * @param $string 需要处理的字符串或数组 * @return mixed */function new_addslashes($string) /** * 返回经stripsl
阅读全文
posted @ 2017-07-12 14:25 宋先生日记
阅读(756)
评论(0)
推荐(0)
2017年7月9日
bootstrap 无需引入 直接使用
摘要: <link href="http://libs.baidu.com/bootstrap/3.0.3/css/bootstrap.min.css" rel="stylesheet"> <script src="http://libs.baidu.com/jquery/2.0.0/jquery.min.
阅读全文
posted @ 2017-07-09 14:33 宋先生日记
阅读(384)
评论(0)
推荐(0)
在前段页面初始化的时候 设置视口的宽度与设备的宽度一致
摘要: <meta name="viewport" content="width=device-width, initial-scale=1">
阅读全文
posted @ 2017-07-09 14:00 宋先生日记
阅读(297)
评论(0)
推荐(0)
2017年3月30日
transition属性值
摘要: 一、transition-property: transition-property是用来指定当元素其中一个属性改变时执行transition效果,其主要有以下几个值:none(没有属性改变);all(所有属性改变)这个也是其默认值;indent(元素属性名)。当其值为none时,transitio
阅读全文
posted @ 2017-03-30 09:09 宋先生日记
阅读(2160)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
公告