摘要: 转载:http://www.cnblogs.com/hateislove214/archive/2010/11/05/1869889.html 阅读全文
posted @ 2017-04-07 16:27 凌晨两点一刻 阅读(129) 评论(0) 推荐(0) 编辑
摘要: 转载博客园 下列转自:http://www.tech-q.cn/archiver/tid-11673.html 很多时候,我们在mysql中创建了索引,但是某些查询还是很慢,根本就没有使用到索引!一般来说,可能是某些字段没有创建索引,或者是组合索引中字段的顺序与查询语句中字段的顺序不符。看下面的例子 阅读全文
posted @ 2017-03-28 23:15 凌晨两点一刻 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 地址:http://www.cnblogs.com/ForEvErNoME/archive/2012/04/21/2460944.html 注释掉: //header('Content-Type: image/png');//header('Content-Disposition: inline; 阅读全文
posted @ 2017-02-28 11:10 凌晨两点一刻 阅读(883) 评论(0) 推荐(0) 编辑
摘要: 地址:http://blog.csdn.net/abandonship/article/details/6459104 其中方法三的js代码在tp框架使用存在故障,一个是需要把代码写在一起(可能也不需要),我这里用ajax发起的请求,如果不是则跳转,所以使用了die函数控制。 阅读全文
posted @ 2017-02-23 15:53 凌晨两点一刻 阅读(1502) 评论(0) 推荐(0) 编辑
摘要: 一,转载:http://www.thinkphp.cn/extend/832.html 二,转载:http://m.blog.csdn.net/article/details?id=7827038 阅读全文
posted @ 2017-02-21 18:04 凌晨两点一刻 阅读(176) 评论(0) 推荐(0) 编辑
摘要: 第一,在虚拟机的网卡配置,高级,重新生产mac,复制备用 第二,开启复制后的虚拟机,修改 /etc/sysconfig/network-scripts/ifcfg-eth0,下mac地址为虚拟机生产的网卡地址 第三,删除复制后系统的 /etc/udev/rules.d/70-persistent-n 阅读全文
posted @ 2017-01-21 01:12 凌晨两点一刻 阅读(231) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/u010246789/article/details/51501710 有声明,不能转载,所以,就把地址弄了过来 阅读全文
posted @ 2017-01-19 00:10 凌晨两点一刻 阅读(90) 评论(0) 推荐(0) 编辑
摘要: http://rickcheung.blog.51cto.com/913220/354429 1、CentOS 修改DNS 修改对应网卡的DNS的配置文件 # vi /etc/resolv.conf 修改以下内容 nameserver 8.8.8.8 #google域名服务器 nameserver  阅读全文
posted @ 2017-01-18 01:28 凌晨两点一刻 阅读(8686) 评论(0) 推荐(0) 编辑
摘要: http://blog.csdn.net/mmyzlinyingjie/article/details/21468365 我在Windows7系统安装了虚拟机,通过虚拟机安装了Ubuntu13.04,我设置的主机与虚拟机的连接方式是桥接,安装好后,发现虚拟机ping不通主机,但是主机可以ping通虚 阅读全文
posted @ 2017-01-18 00:53 凌晨两点一刻 阅读(433) 评论(0) 推荐(0) 编辑
摘要: 转载 框架官方 http://www.thinkphp.cn/topic/9090.html 第三方 https://my.oschina.net/caomenglong/blog/728908 阅读全文
posted @ 2017-01-17 16:56 凌晨两点一刻 阅读(1825) 评论(0) 推荐(0) 编辑