- 最后登录
- 2010-4-16
- 在线时间
- 1 小时
- 个人主页
- 注册时间
- 2010-1-12
- 阅读权限
- 10
- 帖子
- 2
- 精华
- 0
- UID
- 140

|
发表于 2010-2-19 14:18:25
|显示全部楼层
| ( ! ) Fatal error: Call to a member function get() on a non-object in D:\apmxe\htdocs\speedphp\controller\admin.php on line 30 | | Call Stack | | # | Time | Memory | Function | Location | | 1 | 0.0021 | 56520 | {main}( ) | ..\index.php:0 | | 2 | 0.0067 | 118152 | require( 'D:\apmxe\htdocs\speedphp\SpeedPHP\SpeedPHP.php' ) | ..\index.php:26 | | 3 | 0.0807 | 1154704 | admin->register( ) | ..\SpeedPHP.php:89 |
admin.php
...
function register() {
$memberObj = spClass('member');
if( false == $memberObj->spVerifier($this->spArgs()->get()) ){ //第30行
// 通过验证后执行的...
echo 0;
}else{
// 不能通过验证
echo 1;
}
}
hmtl
<form method="post" action="<{spUrl c=admin a=register}>">
。。。。。
</form>
用的版本是最新版的,
由于比较菜,
还有一点请问版主,不能通过验证时,代码怎写才能输出,并在相应位置提示 |
|