Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
490 B
1
Indexable
Never
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <?php
    $name = $_GET["username"];
    $password = $_GET["password"];

    if ($password == "12345678") {
        echo "Welcom $name";
    } else {
        header("Location: exo1.html");
    }
    ?>
</body>

</html>