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 2 3 4 5 6 7 8 9 Login 10 11 12 13 Login Form Email Address: Password: 14 Login HTML 15 16 17

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter14: Introduction To Swing Components
Section: Chapter Questions
Problem 10PE
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.
□2345
1
login.html
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Login Form</title>
6
7 <body>
8 <!-- login.html -->
9 <div><p>Login</p>
10
11
12
13
14
</form>
15
</div>
16 </body>
17 </html>
</head>
Login HTML
<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">
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. □2345 1 login.html <!doctype html> <html lang="en"> <head> <meta charset="utf-8"> <title>Login Form</title> 6 7 <body> 8 <!-- login.html --> 9 <div><p>Login</p> 10 11 12 13 14 </form> 15 </div> 16 </body> 17 </html> </head> Login HTML <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">
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Form and its Elements
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
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
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