| 61 | | // Draw "ghost" alphabetic character |
| 62 | | $text_color = imagecolorallocatealpha($this->image, mt_rand($color_limit + 8, 255), mt_rand($color_limit + 8, 255), mt_rand($color_limit + 8, 255), mt_rand(60, 120)); |
| 63 | | $char = substr($chars, mt_rand(0,14), 1); |
| 64 | | imagettftext($this->image, $size, ($angle + (mt_rand(5,10))), ($x - (mt_rand(5,10))), ($y + (mt_rand(5,10))), $text_color, Captcha::$config['font'], $char); |
| 65 | | |
| | 67 | |
| | 68 | // Draw "ghost" alphabetic character |
| | 69 | $text_color = imagecolorallocatealpha($this->image, mt_rand($color_limit + 8, 255), mt_rand($color_limit + 8, 255), mt_rand($color_limit + 8, 255), mt_rand(60, 120)); |
| | 70 | $char = substr($chars, mt_rand(0,14), 1); |
| | 71 | imagettftext($this->image, $size, ($angle + (mt_rand(5,10))), ($x - (mt_rand(5,10))), ($y + (mt_rand(5,10))), $text_color, Captcha::$config['font'], $char); |
| | 72 | |