php:自己设计的一个php验证码
摘要:
1 <?php 2 $length=5; //即5个字符 3 $length_x=$length; 4 while($length-->0){ 5 $temp=rand(1,3); 6 switch($temp){ 7 case 1: 8 $chars[]=sprintf("%c",rand(65,90)); 9 break;10 case 2:11 $chars[]=s... 阅读全文
posted @ 2012-06-21 21:09 为你而来 阅读(247) 评论(0) 推荐(0)
浙公网安备 33010602011771号