//把全角数字转为半角数字
function GetAlabNum($fnum){
$nums = array(‘0’,’1’,’2’,’3’,’4’,’5’,’6’,’7’,’8’,’9’,’.’,’-’,’+’,’:’);
$fnums = array(‘0′,’1’, ‘2’,’3′, ‘4’,’5′, ‘6’, ‘7’,’8′, ‘9’,’.’, ‘-‘, ‘+’,’:’);
$fnlen = count($fnums);
for($i=0;$i<$fnlen;$i++) $fnum = str_replace($nums[$i],$