Closed aisuhua closed 4 years ago
If the captcha code contains only one character, such as a, It will cause the error.
a
$img = new Securimage(); $img->charset = 'a'; $img->code_length = 1;
I run the code in php cli mode, then it show the error:
PHP Warning: Division by zero in securimage-3.6.7/securimage.php on line 2112
Click to see the line
If the captcha code contains only one character, such as
a
, It will cause the error.I run the code in php cli mode, then it show the error:
Click to see the line