$content="";
$pattern = '1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLOMNOPQRSTUVWXYZ';
for($i=0;$i<16;$i++)
{
$content .= $pattern {mt_rand ( 0, 61 )};
}
echo $content;
PHP随机数字母加数字
最新推荐文章于 2023-08-08 16:36:08 发布
$content="";
$pattern = '1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLOMNOPQRSTUVWXYZ';
for($i=0;$i<16;$i++)
{
$content .= $pattern {mt_rand ( 0, 61 )};
}
echo $content;