张金玲

博客园 首页 联系 订阅 管理

2016年1月15日

摘要: 下载地址https://git-for-windows.github.io/双击安装。git在windows上配置ssh公钥安装成功后从开始菜单找到git 点击 git bash一 .设置git的user name和email: $ git config --global user.name "lx... 阅读全文
posted @ 2016-01-15 12:10 顶顶圈圈 阅读(355) 评论(0) 推荐(0)

摘要: 我的环境是64位的 Win7,Wampserver2.4 集成包(Apache 2.4.4,php5.4.12,MySQL 5.0.10)。安装 Phalcon 也极其简单,只需要下载一个文件(php_phalcon.dll),要以 phpinfo() 里面“Architecture”属性为准!下载... 阅读全文
posted @ 2016-01-15 12:03 顶顶圈圈 阅读(340) 评论(0) 推荐(0)

2015年12月30日

摘要: html$.post("url",{id:id},function(data){ for(var i=0,l=data.length;i"+data[i]['id']+""+data[i]['username']+""+data[i]['email']+""); } },"json")ph... 阅读全文
posted @ 2015-12-30 11:33 顶顶圈圈 阅读(356) 评论(0) 推荐(0)

2015年12月24日

摘要: function stripslashes_array(&$array) { while(list($key,$var) = each($array)) { if ($key != 'argc' && $key != 'argv' && (strtoupper($key) != $key || '... 阅读全文
posted @ 2015-12-24 15:49 顶顶圈圈 阅读(399) 评论(0) 推荐(0)

摘要: 声明类成员或方法为static,就可以不实例化类而直接访问。不能通过一个对象访问其中的静态成员(静态方法除外)由于静态方法不需要通过对象即可调用,所以伪变量$this在静态方法中不可用。静态属性不可以由对象通过->操作符来访问。Example #1 静态成员代码示例 staticValue()."... 阅读全文
posted @ 2015-12-24 15:20 顶顶圈圈 阅读(285) 评论(0) 推荐(0)

摘要: 自动加载类文件1$_server['request_url']获取域名后置参数截取处理获取类命和方法名拼接完成类文件class_exists() 查看类文件是否存在method_exists()查看类中的方法是否存在存在 实例化类 访问方法。不存在 抛异常异常类是基类 用的话要实例化下 可以在外边在... 阅读全文
posted @ 2015-12-24 15:17 顶顶圈圈 阅读(208) 评论(0) 推荐(0)

摘要: 1》本地Apache安装目录1:F:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf增加## Use name-based virtual hosting.#NameVirtualHost *:80 DirectoryIndex in... 阅读全文
posted @ 2015-12-24 15:15 顶顶圈圈 阅读(433) 评论(0) 推荐(0)