// 把全角数字转为半角数字
function GetAlabNum($fnum){
$nums = array('0','1','2','三','四','五' ,'6','7','八','九','.','-','+',':');
$fnums = array('0','1', '2','3', '4','5', '6', '7','8', '9','. ', '-', ' ',':');
$fnlen = count($fnums);
for($i=0;$i $slen = strlen($fnum);
$oknum = '';
for($i=0;$i if(ord($fnum[$i]) > 0x80) $i ;
else $oknum .= $fnum[$i];
}
if($oknum=="") $oknum=0;
返回 $oknum;
}