✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Please implement a web application in PHP that meets the following requirements:
.php file.POST request should be submitted to the application, containing the entered username and password. [0.5p]alert() message should be shown to the user. [1.5p]$_POST, session_start().)__Host- prefix. [1p](Tip: use session_name() and session_set_cookie_params().)action=logout. The application must then delete the session cookie (using the Set-Cookie header) and redirect the user (using the Location header) back to the login form. [1.5p](Tip: use isset(), $_GET, setcookie() and header().)405 and a message in the response body indicating that only GET and POST are supported. [0.5p](Tip: use $_SERVER["REQUEST_METHOD"] and http_response_code().)Please submit the link to your deployed PHP website and the source code of your .php file below.