Web5

This final challenge of web

Combine what you have learned to solve this problem!

Analyze the following code to get the flag

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>web5</title>
</head>
<body>
    <h1>Web5</h1>
    <h2>This final challenge of web</h2>
    <h3>Combine what you have learned to solve this problem!</h3>
    <h4>Analyze the following code to get the flag</h4>
</body>
</html>
<?php
    
include("flag.php");
    if(isset(
$_GET['e3xplolt'])&&isset($_POST['e3xplolt'])){
        echo 
"Pretty, you've completed the first step to give you a flag:".$flag1;
        if(isset(
$_COOKIE['e3xplolt'])&&$_COOKIE['e3xplolt']=="flag"&&$_POST['e3xplolt']=="flag"&&$_GET['e3xplolt']=="flag"){
            echo 
"<br>This is the last flag, congratulations on completing all the web class challenges:".$flag2;
        }
    }else{
        
highlight_file(__FILE__);
    }
?>