摘要: <?phpheader("content-type:text/html;charset=GBK");//页面数据缓存//1.当前页面有没有缓存(memcache data)$mem = new Memcache;$mem->connect("127.0.0.1",11211);//$mem->set 阅读全文
posted @ 2018-07-05 15:27 你我他哈 阅读(166) 评论(0) 推荐(0) 编辑
摘要: <?php $ob =new Memcache; //var_dump($ob); //连接memcache 端口号:11211 $re= $ob->connect("127.0.0.1", 11211); //echo $ob->getVersion(); //存值 key value id ti 阅读全文
posted @ 2018-07-05 15:26 你我他哈 阅读(99) 评论(0) 推荐(0) 编辑
摘要: UPDATE lc_user_recharge SET lc_user_recharge.paymenttime='2018-06-19 12:12:02' WHERE lc_user_recharge.paymentstate !=1 where后面是条件,set 需要修改的内容 阅读全文
posted @ 2018-06-20 18:53 你我他哈 阅读(1002) 评论(0) 推荐(0) 编辑
摘要: data("Y-m-d",strtotime("-1 month - day")); 阅读全文
posted @ 2017-12-30 11:09 你我他哈 阅读(161) 评论(0) 推荐(0) 编辑
摘要: public function reportings(){ $er=I("post."); $time=$er["time"]; $times=strtotime("$time"); var_dump($times); $time1=$er["time1"]; $times1=strtotime(" 阅读全文
posted @ 2017-12-29 15:58 你我他哈 阅读(659) 评论(0) 推荐(0) 编辑
摘要: 把包里的classes文件夹放在项目thinkphp.livrary.vendor里然后把classes文件夹改名为PHPExcel然后像这样引入先把这个方法封了再掉这个方法吧数据传入 阅读全文
posted @ 2017-12-29 14:23 你我他哈 阅读(158) 评论(0) 推荐(0) 编辑