Question: please help with question 5. its a php script Question 5 (6 marks) Write a PHP script that accepts HTTP GET and POST requests. When
Question 5 (6 marks) Write a PHP script that accepts HTTP GET and POST requests. When sent a GET request. your script should generate HTML markup containing a simple form with a text input box like that shown below. XML Page 3 of 6 The user is allowed to enter simple XML into the text box to perform an arithmetic operation, by specifying the type of operation: add subtract multiply divide, and a pair of numbers on which to perform the operation. When the user clicks the Submit button shown above, the PHP script should be sent a POST request with the XML entered by the user. Your script will need to parse the XML to perform the requested arithmetic operation Ensure that your script can parse and understand the XML code below and perform the requested add' operation Carithmetics
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
