string.func.php下 <?php function buildRandomString($type=1,$length=4){ if($type==1){ $chars=join("", range(0 , 9)); }elseif ($type==2){ $chars=join("", array_merge(range("a", "z"),range("A", "Z"))); }elseif ($type==3){ $chars=join("", array_merge(range("a", "z"),range("A", "Z"),range(0, 9))
3 回答
举报
0/150
提交
取消