标签: Yii
-
Post Views: 154 1、已经安装Composer,更新Composer为最新版本,执行命令,结果如图1: composer self-update 报错:Warning: Module &# […]
-
Post Views: 130 1、基于https://github.com/Filsh/yii2-oauth2-server实现; 运行:php composer.phar require ̵ […]
-
Post Views: 108 1、REST API application with OAuth2 server on Yii2的地址:https://github.com/ikaras/yii2-o […]
-
Post Views: 166 1、打开网址,http://www.yiiframework.com/download/,根据提示执行升级: 2、执行命令:php composer.phar requi […]
-
Post Views: 118 1、$query代码实现截图: 2、报错:SQLSTATE[HY093]: Invalid parameter number: number of bound varia […]
-
Post Views: 145 1、在 Windows 8.1 下可以验证成功的代码截图: 2、在CentOS的Fifefox下RESTClient测试的时候,验证失败: 3、分析代码,发现加载intl […]
-
Post Views: 98 1、在GitHub上创建Token; 2、提示创建成功(所有复选框全部选择),需要保存至本地,等下安装的时候要用上; 3、运行安装命令期间,需要输入刚才生成的Token; […]
-
Post Views: 221 1、由于准备使用Yii 2.0框架,其需要 PHP 5.4 或更高版本,因此决定升级PHP版本; 2、现在环境为:Windows8.1 64、Apache 2.2.25( […]
-
Post Views: 83 js函数的实际规则为: if (hasError == false) { return false; } else { return true; // 返回true的话就会 […]
-
Post Views: 79 视图代码: 视图界面: 提交之后的POST打印: 需求:question_type要插入数据库中,为字符串 解决方案1,直接重置$_POST[‘Q […]
