1.姓名验证
ereg("[a-zA-Z_]",$_POST['username'])
2.日期验证
ereg("[0-9]{4}-[0-9]{2}-[0-9]{2}",$_POST['birthday'])
3.E-mail地址验证
ereg("^[a-zA-Z0-9_.]+@([a-zA-Z0-9_]+.)+[a-zA-Z]{2,3}$",$_POST['email'])
1.姓名验证
ereg("[a-zA-Z_]",$_POST['username'])
2.日期验证
ereg("[0-9]{4}-[0-9]{2}-[0-9]{2}",$_POST['birthday'])
3.E-mail地址验证
ereg("^[a-zA-Z0-9_.]+@([a-zA-Z0-9_]+.)+[a-zA-Z]{2,3}$",$_POST['email'])