PHP 生成6位永不重複的隨機數

簡單點的:php 用php的str_shuffle函數:函數 <?php $randStr = str_shuffle('ABCDEFGHIJKLMNOPQRSTUVWXYZ1234567890'); $rand = substr($randStr,0,6); ?>
相關文章
相關標籤/搜索