<??$zcusername=isset($_POST['zcusername'])?$_POST['zcusername']:'';?$zcpassword=isset($_POST['zcpassword'])?$_POST['zcpassword']:'';?$qrpassword=isset($_POST['qrpassword'])?$_POST['zcpassword']:'';? ??$def_zcusername='reg_zcusername';?$def_zcpassword='reg_zcpassword';?$def_qrpassword='reg_zcpassword'; ???if($zcusername !=$def_zcusername){?? ? echo json_encode(array('result'=>'賬號格式有誤'));這一行報的錯?? ? die(); ?? ? }?? ? ?if($zcpassword !=$def_zcpassword){?? ? echo json_encode(array('result'=>'密碼格式有誤'));和這一行?? ? die();?? ? }?? ? ?if($qrpassword !=$def_zcpassword){?? ? echo json_encode(array('result'=>'兩次密碼格式不同'))};還有這一行?? ? die();?? ? }?? ? ?? ? echo json_encode(array('result'=>'注冊成功'))?? ? ?? ? ??? ? ?>
添加回答
舉報
0/150
提交
取消