get_var("new"); $authclass = new Authimage; if ($authclass->hasAuthcode() && intval($new)==0){ $authcode = $authclass->getAuthcode(); }else{ $authcode = $authclass->genAuthcode(); $authclass->saveAuthcode($authcode); } # clean output buffer ob_end_clean(); $authclass->drawAuthimage($authcode); exit; ?>