Question: Each page must have a Log Out button which destroys the session and loges out. include log in information and separate log out page 2.

Each page must have a Log Out button which destroys the session and loges out. Each page must have a Log Out button which destroys the session
include log in information and separate log out page

2. Sessions Create a php file which has an HTML form composed of two text fields and a submit button The text fields must contain only numbers; when submit is pressed, store these numbers into two session variables (x and y) Create a php file which takes the two session variables (if they are set) and displays addition, subtraction, multiplication, division and modulo of these numbers. Be sure to handle any exception in dividing by 0 After pressing submit and creating the session variables, you can redirect the page to the other php using: header("Location: fileName.php")

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To implement the given requirements in PHP follow these steps Step 1 Create a Login Page Create a f... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!