height = 50; $code->width = 180; $code->fontsize = 22; $code->charset = 'abcdefghkmnprtuvwxy23456789ABCDEFGHKMNPRTUVWXY'; $code->doimg(); session('checkcode', $code->getCode());