// 获取随机的字符串 function get_rand_char($length = 6) { $str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"; $strLength = 61; for($i = 0; $i < $length; $i ++) { $res .= $str [rand ( 0, $strLength )]; } return $res; }
标签:col rand res strlen har def for nop style
// 获取随机的字符串 function get_rand_char($length = 6) { $str = "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789abcdefghijklmnopqrstuvwxyz"; $strLength = 61; for($i = 0; $i < $length; $i ++) { $res .= $str [rand ( 0, $strLength )]; } return $res; }
标签:col rand res strlen har def for nop style
原文地址:https://www.cnblogs.com/zjj1990/p/8126111.html