if ($user==""||$pwd==""||$pwd_confirm==""){
echo "<script>alert('Please confirm the integrity of the information ');history.go(-1);</script>";
}
elseif ($code!=$_SESSION["ver_code"] ){
echo "<script>alert('Verification code is incorrect');history.go(-1);</script>";
}