// if(preg_match('/^(13[0-9]|14[5|7]|15[0|1|2|3|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\d{8}$/',$_POST['tel'])){
if(!preg_match("/1[3458]{1}\d{9}$/",$_POST['tel'])){
echo "电话错误";exit;
}
if(!preg_match("/1[3458]{1}\d{9}$/",$_POST['tel'])){
echo "电话错误";exit;
}