我是 codeigniter 的新手,我在 codeigniter 中使用在线教程为我的登录表单创建了一个验证码。加载登录页面时出现以下错误:
> 致命错误:调用未定义的函数 base_url()
$config = array(
'img_path' => 'captcha_images/',
'img_url' => base_url().'captcha_images/',
'img_width' => '150',
'img_height' => 50,
'word_length' => 8,
'font_size' => 16
);
$captcha = create_captcha($config);
i dont have any folder named 'captcha_images', all i have is a controller for captcha,config and the view in login. As am new to this, is it because i dont have a folder or i didnt call any library? please help me with this. thanks in advance
阿波罗的战车