$aaaa=date('Y-m-d').'00:00:01';
$kd=(strtotime(now)-strtotime($aaaa))/300  ;
if ($kd<0.01 or $kd>288){
}
$kt=(int)substr($kd,0,3);
if($kd>$kt){
$kt=$kt+0;
}
if($kt<10){
$kt='00'.$kt;
}
if ( $kt>=10 &&$kt<100 ) {
$kt = '0'.$kt;
}
elseif($kt>288)
{
$kt=288;
}
$openTerm=date('Ymd').$kt+001;
$t3=date('Y-m-d H:i:s',strtotime($aaaa)+$kt*300);
$arr=array();
while(count($arr)<10) 
{
$arr[]=rand(1,10);
}
$whm3=implode($arr);$wn1=$whm3[0];$wn2=$whm3[1];$wn3=$whm3[2];$wn4=$whm3[3];$wn5=$whm3[4];
$openResult=''.$wn1.','.$wn2.','.$wn3.','.$wn4.','.$wn5.'';
echo 'ccc:'.$openTerm;
echo '<br>bbb:'.$openResult;
echo '<br>aaa:'.$t3;
$xdate=date('Y-m-d H:i:s');
if ($openTerm!='')
{
$List['openTerm']=$openTerm;
$List['openResult']=explode(',',$openResult);
$List['enddt']= isset($xdate) ?$xdate : '';谁能帮我看下  这个怎么修改成 生成1 2 3 4 5 6 7 8 9 10     10个数字  不要0  且不重复