<?php
function createNoncestr( $length = 32 ) 
{
    $chars ="abcdefghijklmnopqrstuvwxyz0123456789";  
    $str   ="";
    for($i=0;$i<$length;$i++)
    {  
        $str.= substr($chars, mt_rand(0, strlen($chars)-1), 1);  
    }  
    return $str;
}

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-30
  • 2021-10-14
  • 2021-11-30
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-24
  • 2021-12-05
  • 2021-11-30
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案