上一页 1 ··· 6 7 8 9 10 11 12 下一页
摘要: 1:配置好phpMyAdmin后,通过IP/phpmyadmin就可一访问远程数据库了2:为安全性需要设置密码,修改文件/opt/lampp/phpmyadmin/config.inc.php: 具体设置如下 1, $cfg['Servers'][$i]['host'] = 'localhos... 阅读全文
posted @ 2015-07-05 11:41 S大好人S 阅读(1206) 评论(0) 推荐(0)
摘要: date("Y-m-d G:H:s",strtotime("+1 week 1 days 1 hours 1 seconds")); 阅读全文
posted @ 2015-07-02 22:21 S大好人S 阅读(169) 评论(0) 推荐(0)
摘要: 1:首先按照官方指导安装所需组件 For the local installation use following commands: composer require "codeception/codeception=2.0.*" composer require "codeception/... 阅读全文
posted @ 2015-07-02 16:36 S大好人S 阅读(423) 评论(0) 推荐(0)
摘要: http://www.tech126.com/git-fetch-pull/ Git中从远程的分支获取最新的版本到本地有这样2个命令: 1. git fetch:相当于是从远程获取最新版本到本地,不会自动merge git fetch origin mastergit log -p master.. 阅读全文
posted @ 2015-07-01 21:27 S大好人S 阅读(180) 评论(0) 推荐(0)
摘要: PASH环境变量的设置方法: 方法一:用户主目录下的.profile或.bashrc文件(推荐) 登录到你的用户(非root),在终端输入: $ sudo gedit ~/.profile(or .bashrc) 可以在此文件末尾加入PATH的设置如下: export PATH=”$PATH:... 阅读全文
posted @ 2015-07-01 14:11 S大好人S 阅读(255) 评论(0) 推荐(0)
摘要: Step1:Make a folder named "components" in your project root folder.step2:write your custom component inside components folder eg:MyComponent.phpnamesp... 阅读全文
posted @ 2015-06-30 19:38 S大好人S 阅读(348) 评论(0) 推荐(0)
摘要: 1 $abc = GzhAd::findBySql('SELECT * FROM gongZhongHaoInfo where advertisementID >= :start && advertisementID $start, ':end' => $end))->all();... 阅读全文
posted @ 2015-06-28 17:50 S大好人S 阅读(553) 评论(0) 推荐(0)
摘要: 1:创建view时如果两个表中有重名,那么可以给他们设置别名,如c.`name` advertiser_name.SELECT c.`name` advertiser_name, c.`phone` advertiser_phone, c.`mail` advertiser_mail, c.`add... 阅读全文
posted @ 2015-06-28 11:52 S大好人S 阅读(341) 评论(0) 推荐(0)
摘要: --建表table1,table2: create table table1(id int,name varchar(10)) create table table2(id int,score int) insert into table1 select 1,lee insert into tabl... 阅读全文
posted @ 2015-06-27 19:26 S大好人S 阅读(198) 评论(0) 推荐(0)
摘要: CSRF攻击什么是cross-site request forgeryCross-site request forgery:跨站请求伪造,也被称成为“one click attack”或者session riding,通常缩写为CSRF或者XSRF,是一种对网站的恶意利用。尽管听起来像跨站脚本(XS... 阅读全文
posted @ 2015-06-26 11:41 S大好人S 阅读(307) 评论(0) 推荐(0)
上一页 1 ··· 6 7 8 9 10 11 12 下一页