if($_SESSION['Verify'] !=md5($_POST['Verify'])) { $this->error('验证码错误!'); } public function Verify(){ import("ORG.Util.Image"); Image::GBVerify(); }