$vals = array(
'word' => '가',
'img_path' => './captcha/',
'img_url' => CAPTCHA,
'font_path' => './captcha/fonts/2.ttf',
'font_size' => 20,
'img_width' => '180',
'img_height' => '50',
'expiration' => 7200
);
if ($word == '')
{
$pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
$str = '';
for ($i = 0; $i < 8; $i++)
{
$str .= substr($pool, mt_rand(0, strlen($pool) -1), 1);
}
$word = $str;
}'word' => '가', 로 지정했는데..