|
public function image_verify() {
$this->load->helper('captcha');
$vals = array(
'img_path' => 'static/images/verify/',
'img_url' => base_url().'static/images/verify/',
'img_width' => 150,
'img_height' => 30,
'time' => time(),
'expiration' => 1440,
);
$result = create_captcha($vals);
return $result;
}
这个是接近默认的配置,CI做的是8位的验证码,这个验证码长度在哪里怎么更改??? |
|