Question: Consider the following php code file C:xampphtdocscatalogcse482.php. Numbers on the left side denote line number. Assume that (i) webserver points to htdocs as root and
Consider the following php code file C:\xampp\htdocs\catalog\cse482.php. Numbers on the left side denote line number. Assume that (i) webserver points to htdocs as root and (ii) there is no syntax error in the code.
(a) Is there any problem with this code? [1] (b) What will it display on the first visit? [3] (c) What will it display on the second visit by the same browser as the first one. Explain. [3] (d) What it display on the 2nd visit by the same host but a different browser? Explain. [3] Assume that webserver points to htdocs as root and there is no syntax error. Numbers on the left side denote line number.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
