直接HTML img 标签 !
tp的验证码是这样验证的: if($_SESSION['verify'] != md5($_POST['verify'])) { $this->error('验证码错误!'); } 生成验证码是这样的: Public function verify(){ import('ORG.Util.Image'); Image::buildImageVerify(); }