2017年10月27日

摘要: html代码 阅读全文
posted @ 2017-10-27 16:40 guoke1970s 阅读(172) 评论(0) 推荐(0) 编辑
摘要: html页面代码 阅读全文
posted @ 2017-10-27 15:43 guoke1970s 阅读(284) 评论(0) 推荐(0) 编辑

2017年10月26日

摘要: 百度地图解析,根据所填信息在地图上生成标记点获取经纬度 // 百度地图API功能 var map = new BMap.Map("allmap"); // 创建Map实例 map.centerAndZoom(new BMap.Point(114.316, 30.581), 11); // 初始化地图 阅读全文
posted @ 2017-10-26 09:46 guoke1970s 阅读(3455) 评论(0) 推荐(0) 编辑

2017年10月25日

摘要: $where = "('1=1')";$where .= 'and FIND_IN_SET(' . intval($request->get('city')) . ',city)';$uids = CompanyArea::whereRaw($where)->get();return $uids;处 阅读全文
posted @ 2017-10-25 18:28 guoke1970s 阅读(911) 评论(0) 推荐(0) 编辑
摘要: 对数组$array重组: $array = array( array('id'=>1,'name'=>'aa','pwd'=>'12'), array('id'=>1,'name'=>'bb','pwd'=>'56'), array('id'=>1,'name'=>'saa','pwd'=>' 阅读全文
posted @ 2017-10-25 11:42 guoke1970s 阅读(4376) 评论(0) 推荐(0) 编辑

2017年9月13日

摘要: //ajax代码 $('#pro').change(function () { var id = $(this).val(); if (id == 0) { $('#city').html('<option value="0">请选择城市</option>'); return false; } $. 阅读全文
posted @ 2017-09-13 13:53 guoke1970s 阅读(117) 评论(0) 推荐(0) 编辑

2017年9月8日

摘要: //防止跨站攻击static public function removeXss($val){ $val = preg_replace('/([\x00-\x08][\x0b-\x0c][\x0e-\x20])/', '', $val); $search = 'abcdefghijklmnopqrs 阅读全文
posted @ 2017-09-08 11:39 guoke1970s 阅读(167) 评论(0) 推荐(0) 编辑

2017年8月11日

摘要: 简单的qq第三方登录的实现 使用框架 laravel 使用安装包 参照文档安装 阅读全文
posted @ 2017-08-11 16:02 guoke1970s 阅读(210) 评论(0) 推荐(0) 编辑

2017年8月9日

摘要: <VirtualHost *:80> DocumentRoot "D:/Xampp/htdocs/DPBB/public" ServerName dpbb.app ServerAlias *.dpbb.app </VirtualHost> 阅读全文
posted @ 2017-08-09 14:11 guoke1970s 阅读(437) 评论(0) 推荐(0) 编辑

2017年7月25日

只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-07-25 16:30 guoke1970s 阅读(6) 评论(0) 推荐(0) 编辑

导航