时间: 2020-09-5|tag:14次围观|0 条评论


PHP生成一个六位数的邀请码

$unique_no = substr(base_convert(md5(uniqid(md5(microtime(true)),true)), 16, 10), 0, 6);

文章转载于:https://www.cnblogs.com/woods1815/p/9595528.html

原著是一个有趣的人,若有侵权,请通知删除

本博客所有文章如无特别注明均为原创。
复制或转载请以超链接形式注明转自起风了,原文地址《PHP生成一个六位数的邀请码
   

还没有人抢沙发呢~