Menu

(Solved) : First Screenshot Right Shows Initial Rendering Prob3html Textbox Name Num Form Submitted Q37289020 . . .

The first screenshot at right shows the initial rendering ofprob3.html. The textbox has name=”num”. When the form is submitted,a GET request is sent to prob3.php in the same folder. This scriptchecks whether this number is less than 10 or greater than 20. Ifnot, then it is considered in range, and the value is echoed backin the HTML of the response. The second screenshot on the right isthe rendering of the response when the number entered was 15. If,however, the number is out of range, then the request is redirectedto a script outOfRange.php in the folder errors just below thedocument root (i.e., in the server, you access it as”/errors/outOfRange.php”). The value of the number is sent (as thevalue of name ‘num’) along with the redirection (by being includedin the query string). The HTML that is the response created byoutOfRange.php has a paragraph that echoes the number and indicatesthat it is out of range. The third screenshot shows the case whenthe number is 25.For this problem, you turn in the files prob3.html, prob3.php,and outOfRange.php.Problem 3 (5 pts.) The first screenshot at right shows the initial rendering of prob3.html. A number between 10 and 20 The teProblem 3 (5 pts.) The first screenshot at right shows the initial rendering of prob3.html. A number between 10 and 20 The textbox has name-“num”. When the form is submitted, a GET request is sent to Submit prob3.php in the same folder. This script checks whether this number is less than 10 or greater than 20. If not, then it is considered in range, and the value is echoed back in the HTML of the response. The second screenshot on the right is the rendering of the response when the number entered was 15. If, however, The number you entered, 25,isn’t between the number is out of range, then the request is 10 and 20 redirected to a script outOf Range.php in the folder errors just below the document root (i.e., in the server, you access it as “/errors/outofRange.php”). The value of the number is sent (as the value of name ‘num along with the redirection (by being included in the query string). The HTML that is the response created by outofRange.php has a paragraph that echoes the number and indicates that it is out of range. The third screenshot shows the case when the number is 25 You entered 15 For this problem, you turn in the files prob3. html, prob3.php, and outofRange.php. You may assume that the grader will put your outofRange.php script in the /errors folder Show transcribed image text Problem 3 (5 pts.) The first screenshot at right shows the initial rendering of prob3.html. A number between 10 and 20 The textbox has name-“num”. When the form is submitted, a GET request is sent to Submit prob3.php in the same folder. This script checks whether this number is less than 10 or greater than 20. If not, then it is considered in range, and the value is echoed back in the HTML of the response. The second screenshot on the right is the rendering of the response when the number entered was 15. If, however, The number you entered, 25,isn’t between the number is out of range, then the request is 10 and 20 redirected to a script outOf Range.php in the folder errors just below the document root (i.e., in the server, you access it as “/errors/outofRange.php”). The value of the number is sent (as the value of name ‘num along with the redirection (by being included in the query string). The HTML that is the response created by outofRange.php has a paragraph that echoes the number and indicates that it is out of range. The third screenshot shows the case when the number is 25 You entered 15 For this problem, you turn in the files prob3. html, prob3.php, and outofRange.php. You may assume that the grader will put your outofRange.php script in the /errors folder

Expert Answer


Answer to The first screenshot at right shows the initial rendering of prob3.html. The textbox has name=”num”. When the form is su…

OR