PHP头条
热点:

一个身份证号码检查类-PHP源码


idy[$i]*9+$ch[1]*8+$ch[2]*7+$ch[3]*6+$ch[4]*5+$ch[5]*4+$ch[6]*3+$ch[7]*2+$ch[8]*1+$ch[9]*1;
                $id = (($id % 10) == 0) ? TRUE : FALSE;
                return $id;
				// 导入检查公式 END
            }
			else
				return 0;
        }

	}

?>

www.phpzy.comtrue/phpyy/42652.htmlTechArticle一个身份证号码检查类-PHP源码 idy[$i]*9+$ch[1]*8+$ch[2]*7+$ch[3]*6+$ch[4]*5+$ch[5]*4+$ch[6]*3+$ch[7]*2+$ch[8]*1+$ch[9]*1; $id = (($id % 10) == 0) ? TRUE : FALSE; return $id;// 导入检查公式 END }elsereturn 0; }}?>...

相关文章

PHP之友评论

今天推荐