HTTP Error 405.0 - Method Not Allowed
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
HTTP Error 405.0 - Method Not Allowed
The page you are looking for cannot be displayed because an invalid method (HTTP verb) is being used.
Hello I keep getting this error when I try to submit the form code which is supposed to have the welcome.php spit the information i put in back to me.
Can someone tell me why so I can fix it.
![welcome.php X form.html
PHP (global code)
<html>
<body>
Welcome <?php echo $_POST["firstname"]; ?><br>
Your Last Name is: <?php echo $_POST["lastname"]; ?>
Your Telephone Number is: <?php echo $_POST["TelephoneNumber"]; ?>
Your Favorite Color is: <?php echo $_POST["FavoriteColor"]; ?>
Your favorite doctor is: <?php echo $_POST["FaveDoctor"] ?>
</body>
</html>
PHP (in](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fbf238986-8ffc-4b99-b1ca-533b8fe8c6d3%2Fb7aac37c-4ccc-46de-b6d6-e00e6866213f%2Flohwcyn_processed.png&w=3840&q=75)
Transcribed Image Text:welcome.php X form.html
PHP (global code)
<html>
<body>
Welcome <?php echo $_POST["firstname"]; ?><br>
Your Last Name is: <?php echo $_POST["lastname"]; ?>
Your Telephone Number is: <?php echo $_POST["TelephoneNumber"]; ?>
Your Favorite Color is: <?php echo $_POST["FavoriteColor"]; ?>
Your favorite doctor is: <?php echo $_POST["FaveDoctor"] ?>
</body>
</html>
PHP (in

Transcribed Image Text:welcome.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
24
25
26 27 28 29 30 31 2 33 34 35 36 37 38 39 40 皿 ² 3 u 45
32
41
42
<li><input type="checkbox" name="genre" value="horror" checked> horror</li>
<li><input type="checkbox" name="genre" value="action" checked> action</li>
<li><input type="checkbox" name="genre" value="adventure"> adventure</li>
15 <li><input type="checkbox" name="genre" value="romance"> romance</li>
16
<li><input type="checkbox" name="genre" value="science fiction "checked> science fiction</li>
<li><input type="checkbox" name="genre" value="fantasy"> fantasy</li>
17
18
19
20
21
<option>William Hartnell</option>
22 <option>Patrick Troughton</option>
23 <option>Jon Pertwee</option>
<option>Tom Baker</option>
<option>Peter Davison</option>
<option>Colin Baker</option>
<option>Sylvester McCoy</option>
<option>Paul McGann</option>
<option>Christopher Eccleston</option>
<option>David Tennant</option>
<option>Matt Smith</option>
<option>Peter Capaldi</option>
<option>Jodie Whittaker</option>
Gatwa</option>
<option>Ncuti
</select>
43
44
<!DOCTYPE HTML>
<html>
<body>
form.html
<form action="welcome.php" method="post">
First Name: <input type="text" name="firstname"><br>
Last Name: <input type="text" name="lastname"><br>
Telephone Number: <input type="tel" name="TelephoneNumber"><br>
X
Favorite Color: <input type="text" name="FavoriteColor"><br>
<p>What genre of movies do you watch?</p>
<ul>
</p>
</ul>
<p>Who is your favorite doctor from the hit science fiction show "Doctor Who"?
<select name="FaveDoctor">
<p><label for="FavDoctor">Tell me why is this your favorite doctor actor or actress:</label></p>
<textarea name="FavDoctor" rows="4" cols="64">
This is because...</textarea>
</p>
<input type="submit">
</form>
</body>
[</html>
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 4 steps with 2 images

Recommended textbooks for you

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON

Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science

Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning

Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning

Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education

Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY