classs('captcha'); session_start(); $captcha = new Captcha(); $captcha->build(150, 40); $hash = md5(strtolower($captcha->phrase) . $_W['config']['setting']['authkey']); isetcookie('__code', $hash); $_SESSION['__code'] = $hash; $captcha->output();