验证码(1) 
str_shuffle() 函数随机打乱字符串中的所有字符。 
array_merge — 合并一个或多个数组 
join — 别名 implode() 
imagechar — 水平地画一个字符,imagechar( resource $image, int $font, int $x, int $y, string $c, int $color) 
imagecharup — 垂直地画一个字符imagecharup( resource $image, int $font, int $x, int $y, string $c, int $color) 
imagettftext($image, $size, $angle, $x, $y, $color, $fontfile, $text) 
//添加像素当做干扰元素 
//绘制线段当做干扰元素 
//绘制圆弧 
以下为一个简单验证码实例 
 
 
             
            posted @ 
2019-05-17 19:23  
*小龙人*  
阅读(
165 ) 
评论() 
 
收藏  
举报