上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
2016年3月8日
摘要: 1.http://jmeter.apache.org/download_jmeter.cgi 下载jmeter2.解压包3.进入解压目录/bin/4.sh jmeter 阅读全文
posted @ 2016-03-08 11:06 whlives 阅读(251) 评论(0) 推荐(0) 编辑
2016年2月26日
摘要: 是因为更新过系统,安装并更新了系统自带的apache 执行这个命令即可 #ln -sf /www/wdlinux/init.d/httpd /etc/rc.d/init.d/httpd#reboot 阅读全文
posted @ 2016-02-26 17:27 whlives 阅读(774) 评论(0) 推荐(0) 编辑
2016年1月21日
摘要: //减少库存量 $orderGoodsDB = new IModel('order_goods'); $orderGoodsList = $orderGoodsDB->query('order_id = '.$order_id); $... 阅读全文
posted @ 2016-01-21 16:14 whlives 阅读(274) 评论(0) 推荐(0) 编辑
摘要: find . -type d -name ".svn"|xargs rm -rf 阅读全文
posted @ 2016-01-21 12:57 whlives 阅读(716) 评论(1) 推荐(1) 编辑
摘要: document.getElementById('file4').onchange = function(evt) { // 如果浏览器不支持FileReader,则不处理 if (!window.FileReader) return; var files ... 阅读全文
posted @ 2016-01-21 10:42 whlives 阅读(1327) 评论(0) 推荐(0) 编辑
2015年12月30日
摘要: 今天做一个项目需要post2000个数组过去,发现一直只能接到一半,后来发现是max_input_vars显示问题。修改php.ini里面max_input_vars的大小就可以了 阅读全文
posted @ 2015-12-30 18:03 whlives 阅读(1573) 评论(0) 推荐(0) 编辑
2015年12月20日
摘要: 很多时候记录日志需要换行。不建议使用\r\n,因为:在windows中\r\n是换行在Mac中\r是换行在Liunx中\n是换行但是PHP提供了一个常量来匹配不同的操作系统,即:file_put_contents("log.txt", "Hello world everyone.".PHP_EOL,... 阅读全文
posted @ 2015-12-20 14:50 whlives 阅读(483) 评论(0) 推荐(0) 编辑
2015年12月18日
摘要: 今天用curl测试一个接口,一直提示400最后发现是url的问题,如下处理就可以了$url = str_replace(' ', '+', $url); 阅读全文
posted @ 2015-12-18 17:23 whlives 阅读(1029) 评论(0) 推荐(0) 编辑
2015年12月3日
摘要: $data = simplexml_load_string($res, 'SimpleXMLElement', LIBXML_NOCDATA);$arr = converArray($data);function converArray($xmlData){ foreach((array)$xml... 阅读全文
posted @ 2015-12-03 12:06 whlives 阅读(131) 评论(0) 推荐(0) 编辑
2015年10月19日
摘要: 为有更好的性能,也为更简洁的系统,一些不是常用或不是基本的功能,都将做为可选的安装组件需要用到的就安装 注意:如果安装时遇到 ./configure: Permission denied提示,很有可能是安装了云锁引起的,卸载了云锁就可以正常安装了。 memcache的安装wget -c http:/ 阅读全文
posted @ 2015-10-19 09:23 whlives 阅读(303) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页