PHP.19-验证码生成
摘要:        
生成验证码 思路:先定义验证码函数getCode() //绘制验证码 $num = 4; //字符长度 getCode($num, 2); 1、创建画布,分配颜色 imagecreatetruecolor() $height $width = $num*20; //假设每个字的大小为18 $im =    阅读全文
		
		posted @ 2017-04-13 20:09 子轩非鱼 阅读(156) 评论(0) 推荐(0)
posted @ 2017-04-13 20:09 子轩非鱼 阅读(156) 评论(0) 推荐(0)