7位唯一串
function unik(){
$str=array('1','2','3','4','5','6','7','8','9','a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0',);
$str=array_flip($str);
$b= implode('',array_rand($str,3));
$str = substr(md5(uniqid()), -4).$str1;
return substr(md5($str),-7);
}