The login.html image is shown below. The simple PHP module shows email and password fields for a user to enter. Analyze the code and identify one issue with the code regarding security. Explain the problem by identifying the line no. and provide the corrected line of code. login.html

New Perspectives on HTML5, CSS3, and JavaScript
6th Edition
ISBN:9781305503922
Author:Patrick M. Carey
Publisher:Patrick M. Carey
Chapter13: Programming For Web Forms: Creatings Forms For Orders And Pa
Section13.2: Visual Overview: Passing Data Between Forms
Problem 3QC
icon
Related questions
Question
The login.html image is shown below. The simple PHP module shows email and password fields for a user to enter. Analyze the code and identify one issue with the code regarding security. Explain the problem
by identifying the line no. and provide the corrected line of code.
login.html
1
<!doctype html>
2 <html lang="en">
3
<head>
4
5
6 </head>
7 <body>
8
9
10
11
12
13
14
<meta charset="utf-8">
<title>Login Form</title>
<!-- login.html -->
<div><p>Login</p>
<form action="handle_login.php" method="post">
<p>Email Address: <input type="text" name="email" size="30"></p>
<p>Password: <input type="text" name="password" size="20"></p>
<input type="submit" name="submit" value="Login">
</form>
15
</div>
16 </body>
17
</html>
Transcribed Image Text:The login.html image is shown below. The simple PHP module shows email and password fields for a user to enter. Analyze the code and identify one issue with the code regarding security. Explain the problem by identifying the line no. and provide the corrected line of code. login.html 1 <!doctype html> 2 <html lang="en"> 3 <head> 4 5 6 </head> 7 <body> 8 9 10 11 12 13 14 <meta charset="utf-8"> <title>Login Form</title> <!-- login.html --> <div><p>Login</p> <form action="handle_login.php" method="post"> <p>Email Address: <input type="text" name="email" size="30"></p> <p>Password: <input type="text" name="password" size="20"></p> <input type="submit" name="submit" value="Login"> </form> 15 </div> 16 </body> 17 </html>
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Creating web page
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning