标签:abc for and highlight fun att class pat PQ
function randomkeys($length) { $key = ‘‘; $pattern = ‘23456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKOMNOPQRSTUVWXYZ‘; for($i=0;$i<$length;$i++) { $key .= $pattern{mt_rand(0,58)}; //生成php随机数 } return $key; }
标签:abc for and highlight fun att class pat PQ
原文地址:https://www.cnblogs.com/wntd/p/9132586.html