上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 198 下一页
摘要: Add XDebug to Ubuntu 14.04 Submitted by Wilbur on Tue, 06/17/2014 - 12:49pm It's pretty easy to add XDebug to Ubuntu for PHP and HTML5 Development. He 阅读全文
posted @ 2016-06-01 09:17 brady-wang 阅读(400) 评论(0) 推荐(0) 编辑
摘要: /** * 设计模式之单例模式 * $_instance必须声明为静态的私有变量 * 构造函数必须声明为私有,防止外部程序new类从而失去单例模式的意义 * getInstance()方法必须设置为公有的,必须调用此方法以返回实例的一个引用 * ::操作符只能访问静态变量和静态函数 * new对象都 阅读全文
posted @ 2016-05-31 14:52 brady-wang 阅读(186) 评论(0) 推荐(0) 编辑
摘要: <?php class ServiceMessage { private $errorCode = array( '1000' => "系统错误", '1001' => "用户错误", '1002' => "密码错误", ); CONST SYSTEM_CODE = '1000'; public f 阅读全文
posted @ 2016-05-31 14:09 brady-wang 阅读(374) 评论(0) 推荐(0) 编辑
摘要: select id, uid, money, FROM_UNIXTIME(created) as created, type FROM ( #type=1是 cjw_finance_bonus查出的内容select id, uid,balance as money, '1' as type, cre 阅读全文
posted @ 2016-05-20 15:28 brady-wang 阅读(242) 评论(0) 推荐(0) 编辑
摘要: MongoDBPHP 扩展 本教程将向大家介绍如何在Linux、window、Mac平台上安装MongoDB扩展。 Linux上安装 MongoDB PHP扩展 在终端上安装 你可以在linux中执行以下命令来安装MongoDB 的 PHP 扩展驱动 $ sudo pecl install mong 阅读全文
posted @ 2016-05-17 17:09 brady-wang 阅读(267) 评论(0) 推荐(0) 编辑
摘要: PHP的CURL方法curl_setopt()函数案例介绍(抓取网页,POST数据) PHP的CURL方法curl_setopt()函数案例介绍(抓取网页,POST数据) 通过curl_setopt()函数可以方便快捷的抓取网页(采集很方便),curl_setopt 是php的一个扩展库 使用条件: 阅读全文
posted @ 2016-05-11 09:17 brady-wang 阅读(336) 评论(0) 推荐(0) 编辑
摘要: <?phpdefined('BASEPATH') OR exit('No direct script access allowed');/** * Created by PhpStorm. * User: huangyaokui * Date: 16/4/23 * Time: 下午2:17 */cl 阅读全文
posted @ 2016-05-09 21:03 brady-wang 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 一:Git是什么? Git是目前世界上最先进的分布式版本控制系统。 二:SVN与Git的最主要的区别? SVN是集中式版本控制系统,版本库是集中放在中央服务器的,而干活的时候,用的都是自己的电脑,所以首先要从中央服务器哪里得到最新的版本,然后干活,干完后,需要把自己做完的活推送到中央服务器。集中式版 阅读全文
posted @ 2016-05-06 18:31 brady-wang 阅读(221) 评论(0) 推荐(0) 编辑
摘要: 1. 没有出现的原因是:执行时添加上php.ini的文件就可以了 $ /usr/local/php/bin/php -c /usr/local/php/etc/php.ini -m | grep cb //cb是模块名 2. $ /usr/local/php/bin/php --ini | grep 阅读全文
posted @ 2016-05-06 15:33 brady-wang 阅读(3577) 评论(0) 推荐(0) 编辑
摘要: linux安装swoole扩展 1.首先我们要安装swoole扩展的话,需要把它的包下载下来,下载地址是: https://github.com/swoole/swoole-src 2.下载下来之后进行解压: ? 1 unzip swoole-src-master.zip 3.解压之后打开解压的目录 阅读全文
posted @ 2016-05-06 14:07 brady-wang 阅读(276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 170 171 172 173 174 175 176 177 178 ··· 198 下一页