Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started