摘要: 1、在C:\wamp\vhosts\vhost.conf文件中添加 <VirtualHost *:80>ServerName ***.comServerAlias ***.comDocumentRoot D:\PHP\*** --项目路径DirectoryIndex index.php index. 阅读全文
posted @ 2016-01-04 09:54 FinnYY 阅读(171) 评论(0) 推荐(0) 编辑
摘要: 城市选择器页面左右滑动识别信用卡图像coverFlow输入框图片浏览器百度地图 阅读全文
posted @ 2016-01-02 21:13 FinnYY 阅读(207) 评论(0) 推荐(0) 编辑
摘要: 1、配置文件config.php/**配置导航**/ 'ADMIN_NAV' => array( array('title'=>'用户信息','url'=>"?s=/Home/Index/index",'class'=>''), //array('title'=>'... 阅读全文
posted @ 2015-12-31 11:55 FinnYY 阅读(208) 评论(0) 推荐(0) 编辑
摘要: http://developer.baidu.com/map/jsdemo.htm#a1_5 阅读全文
posted @ 2015-12-25 16:17 FinnYY 阅读(178) 评论(0) 推荐(0) 编辑
摘要: setTimeout('location.reload()',1000);//页面刷新 1000为延时的毫秒数1.setInterval() - 间隔指定的毫秒数不停地执行指定的代码。2.setTimeout() - 暂停指定的毫秒数后执行指定的代码var setT = setTimeout(fu... 阅读全文
posted @ 2015-12-24 16:11 FinnYY 阅读(147) 评论(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 阅读(164) 评论(0) 推荐(0) 编辑
摘要: abc 123 qwe 456 ';?> 阅读全文
posted @ 2015-12-19 22:11 FinnYY 阅读(129) 评论(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 阅读(378) 评论(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 阅读(144) 评论(0) 推荐(0) 编辑
摘要: /*图片上传*/ public function upload(){ $file = $_FILES['mypic']; $upload = new \Think\Upload();// 实例化上传类 $upload->maxSize = 2*1024... 阅读全文
posted @ 2015-12-14 16:00 FinnYY 阅读(162) 评论(0) 推荐(0) 编辑