/**
* 从规定字符中生成固定位数随即串
* @param int $l 位数
* @param string $c 数据来源字符串
* @return string 返回随即串
*/
public static function mt_rand_str($l,$c= 'abcdefghijklmnopqrstuvwxyz1234567890')
{
$lenC = strlen($c);
for($s= '',$cl = $lenC-1,$i= 0; $i < $l; $s.= $c[mt_rand(0,$cl)], ++$i);
return $s;
}