make captcha bigger

This commit is contained in:
Your Name 2025-10-17 21:30:30 -04:00
parent aa6bbf4bd7
commit 5173bccb97
4 changed files with 12 additions and 1 deletions

View file

@ -25,7 +25,7 @@ $alphanum = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ123456789abcdefghijklmnopqrstuvwxyz';
$string = substr( str_shuffle( $alphanum ), 2, 5 );
$_SESSION['captcha_code'] = $string;
/* Create new empty image */
$Imagick->newImage( 80, 25, $bg );
$Imagick->newImage( 100, 25, $bg );
/* Write the text on the image */
$Imagick->annotateImage( $ImagickDraw, 4, 20, 0, $string );