上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 64 下一页

2018年12月8日

摘要: class Memcache{ private static $mem = null; public function mem_create(){ self::$mem = new \Memcache(); self::$mem->connect('127.0.0.1'); } public function __destruct(... 阅读全文
posted @ 2018-12-08 10:44 薇薇123456 阅读(109) 评论(0) 推荐(0) 编辑
摘要: class MySQLDB { public $link;// 用于保存链接资源 /** * 构造方法 */ public function __construct() { $this->link = mysql_connect("localhost:3306",'root','zhouyang'); } /** ... 阅读全文
posted @ 2018-12-08 10:28 薇薇123456 阅读(71) 评论(0) 推荐(0) 编辑

2018年12月6日

摘要: test.txt shell命令 心路历程 awk:统计 -v:传参 -F:定义分隔符 !a[$1]++:去重 print:打印 备注:去重可参考https://www.cnblogs.com/chongchong88/p/6085905.html 阅读全文
posted @ 2018-12-06 15:37 薇薇123456 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-06 15:19 薇薇123456 阅读(157) 评论(0) 推荐(0) 编辑

2018年11月30日

摘要: 阅读全文
posted @ 2018-11-30 17:16 薇薇123456 阅读(61) 评论(0) 推荐(0) 编辑

2018年11月21日

摘要: 阅读全文
posted @ 2018-11-21 18:31 薇薇123456 阅读(106) 评论(0) 推荐(0) 编辑

2018年11月16日

摘要: select column_name,column_comment,data_type from information_schema.columns where table_name='option_capital' 阅读全文
posted @ 2018-11-16 22:40 薇薇123456 阅读(99) 评论(0) 推荐(0) 编辑
摘要: add可以做memcache锁 使用场景:用户兑换商品,在网络不好的情况下,点击多次,set会将多次提交全纪录下来,add只会记录一次 阅读全文
posted @ 2018-11-16 14:39 薇薇123456 阅读(106) 评论(0) 推荐(0) 编辑
摘要: curl_setopt($ch,CURLOPT_RETURNTRANSFER,1);//设置返回值不直接输出,例如返回xml格式,会将xml原样输出 阅读全文
posted @ 2018-11-16 14:36 薇薇123456 阅读(124) 评论(0) 推荐(0) 编辑

2018年11月12日

摘要: D:\Visual-NMP-x64\Bin\MySQL\bin\mysql -u root -p123456 mysql>use flb mysql>source D:/flb.sql mysql -uuser -ppass dbo < ./dbo.sql 阅读全文
posted @ 2018-11-12 18:08 薇薇123456 阅读(75) 评论(0) 推荐(0) 编辑
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 64 下一页

导航