12 2015 档案

摘要:1、配置文件config.php/**配置导航**/ 'ADMIN_NAV' => array( array('title'=>'用户信息','url'=>"?s=/Home/Index/index",'class'=>''), //array('title'=>'... 阅读全文
posted @ 2015-12-31 11:55 FinnYY 阅读(210) 评论(0) 推荐(0) 编辑
摘要:http://developer.baidu.com/map/jsdemo.htm#a1_5 阅读全文
posted @ 2015-12-25 16:17 FinnYY 阅读(179) 评论(0) 推荐(0) 编辑
摘要:setTimeout('location.reload()',1000);//页面刷新 1000为延时的毫秒数1.setInterval() - 间隔指定的毫秒数不停地执行指定的代码。2.setTimeout() - 暂停指定的毫秒数后执行指定的代码var setT = setTimeout(fu... 阅读全文
posted @ 2015-12-24 16:11 FinnYY 阅读(150) 评论(0) 推荐(0) 编辑
摘要:linux ubuntu14.x apache上在WxPayPubHelper.php里面 postXmlSSLCURL方法里//curl_setopt($ch,CURLOPT_SSLCERT, WxPayConf_pub::SSLCERT_PATH); curl_setopt($ch... 阅读全文
posted @ 2015-12-22 10:46 FinnYY 阅读(165) 评论(0) 推荐(0) 编辑
摘要:abc 123 qwe 456 ';?> 阅读全文
posted @ 2015-12-19 22:11 FinnYY 阅读(132) 评论(0) 推荐(0) 编辑
摘要:1、php页面为utf编码1 header("Content-type: text/html; charset=utf-8"); 用header或meta实现PHP页面编码的区别一、页面编码1. 使用 标签设置页面编码这个标签的作用是声明客户端的浏览器用什么字符集编码显示该页面,xxx可以为GB2... 阅读全文
posted @ 2015-12-17 17:14 FinnYY 阅读(379) 评论(0) 推荐(0) 编辑
摘要:1、过滤是不是URL(后台过滤)$url = "https://www.baidu.com"; if(!filter_var($url,FILTER_VALIDATE_URL)){ echo "不是URL地址"; }else{ echo "是URL地址"; ... 阅读全文
posted @ 2015-12-15 15:21 FinnYY 阅读(145) 评论(0) 推荐(0) 编辑
摘要:/*图片上传*/ public function upload(){ $file = $_FILES['mypic']; $upload = new \Think\Upload();// 实例化上传类 $upload->maxSize = 2*1024... 阅读全文
posted @ 2015-12-14 16:00 FinnYY 阅读(163) 评论(0) 推荐(0) 编辑
该文被密码保护。
posted @ 2015-12-14 15:28 FinnYY 阅读(34) 评论(0) 推荐(0) 编辑
摘要://设置或获取对象指定的文件名或路径。alert(window.location.pathname) //设置或获取整个 URL 为字符串。 alert(window.location.href);//设置或获取与 URL 关联的端口号码。alert(window.location.port) //... 阅读全文
posted @ 2015-12-14 15:25 FinnYY 阅读(312) 评论(0) 推荐(0) 编辑
摘要:1、HTML部分搜索">搜索2、JS部分function funsearch(basePath){ var seaval = $("#search").val(); window.location.href=basePath+'/search/'+seaval+'.htm... 阅读全文
posted @ 2015-12-12 22:11 FinnYY 阅读(134) 评论(0) 推荐(0) 编辑
摘要://按回车登录 $(document).keyup(function(event){ if(event.keyCode ==13){ $("#loginbtn").trigger("click"); } }); 阅读全文
posted @ 2015-12-10 10:34 FinnYY 阅读(196) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示