The PHP download page uses multiple passwords to download

problem description

A separate PHP page implements the password download program, without using the database, the current code can achieve a password download, but I need to make this program can be downloaded with 2 or 3 passwords, how to write.

the environmental background of the problems and what methods you have tried

I have tried to make an array before, and then to match it, but I failed. I don"t know much about PHP syntax. I hope to get the master

.

related codes

/ / Please paste the code text below (do not replace the code with pictures)


            <br>

            <a role="button" class="btn btn-success" href=".$page_url."></a>

            </div>
            </body>
            </html>
            ";
        exit;
    }
}
?>

what result do you expect? What is the error message actually seen?

how to rewrite the code so that both 123456 and 654321 passwords can get the download address. Thank you. I am willing to pay to solve this problem.

Php
Nov.19,2021

<?php


$page_pwd = md5('123456'); //

// 
$page_pwd_arr = [
    123456,
    654321
];

$page_url = "https://ming-1152253542.file.myqcloud.com/game.exe";
$action = @$_GET['action'];
$page_postpwd = @$_POST['page_pwd'];

if (empty($page_postpwd) || !in_array($page_postpwd, $page_pwd_arr)) {
    //  
} else {
    //  
}
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e5f0f3-44d42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e5f0f3-44d42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?