我在我的用户注册中添加了一个电子邮件验证步骤。我似乎无法访问电子邮件链接中传递的参数;
链接:activation.php?email=someone@somewhere.com&key=5614c46be05a95f55f2231d8dea41418d17b197a
这是页面代码;
class page_activation extends Page {
function init(){
parent::init();
if($this->api->auth->isLoggedIn())$this->api->redirect('index');
$loginAccount = $_GET['email'];
$activationKey = $_GET['key'];
$this->add('H1')->set('Activated');
$this->add('H3')->set('Account: '.$loginAccount);
$this->add('H3')->set('Key: '.$_GET['key']);
}