/
securityquestion.php
120 lines (113 loc) · 3.21 KB
/
securityquestion.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<!DOCTYPE html>
<html>
<head>
<?php
$f=2;
if(isset($_POST['btn']))
{
$e=$_POST["email"];
$n=$_POST["name"];
$p=$_POST["pass"];
$pc=$_POST["passc"];
$dob=$_POST["dob"];
$g=$_POST["gender"];
if($g=='male')
{
$c=1;
}
elseif ($g=='female')
{
$c=2;
}
elseif($g=='Others')
{
$c=3;
}
if($p!=$pc)
{
header("location:registerframe.php");
$f=1;
}
else
{
$f=0;
}
}
?>
<style type="text/css">
#button{background-color: #DE9683;border:1px solid #DE9683;}
#button:hover{background-color:red;cursor: pointer;border:1px solid red; }
</style>
</head>
<body>
<div style="
position:absolute;
box-shadow: 0px 8px 16px 0px rgba(9,0,0,0.2);;
margin-top:30px;
background-color:#f9f9f9;
margin-left:0px;
padding: 15px;
">
<table>
<tr>
<th style="font-size: 20px;font-family: cursive;" align="center">
Security Question
</th>
</tr>
<tr>
<td>
<hr>
</td>
</tr>
<tr>
<td>
<input type="radio" name="Security_question" value="What is your childhood name?"><span>What is your childhood name?</span>
</td>
</tr>
<tr>
<td>
<input type="radio" name="Security_question" value="What is the name of your pet?"><span>What is the name of your pet?</span>
</td>
</tr>
<tr>
<td>
<input type="radio" name="Security_question" value="What is your favourite color?"><span>What is your favourite color?</span>
</td>
</tr>
<tr>
<td>
<input type="radio" name="Security_question" value="Who is your favourite actor?"><span>Who is your favourite actor?</span>
</td>
</tr>
<tr>
<td>
<input type="radio" name="Security_question" value="What is your lucky number?"><span>What is your lucky number?</span>
</td>
</tr>
<tr>
<td>
<input type="text" name="answer" placeholder="Your Answer" title="Enter Your Answer"
style="
border:1px solid #ccc;
height: 30px;
font-size: 15px;
padding: 5px;
width: 300px;
">
</td>
</tr>
<tr>
<td align="right">
<input id="button" type="submit" name="s_q" value="Next"
style="
border-radius: 5px;
height: 40px;
color: white;
width: 100px;
">
</td>
</tr>
</table>
</div>
</body>
</html>