Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $admins = array (
- "Osama",
- "Hassan",
- "Wael");
- $logins = array (
- 123,
- 456,
- 789,
- );
- $username = $_GET['Username'];
- $password = $_GET['Password'];
- if(in_array($username,$admins)) {
- if (in_array($password,$logins)) {
- echo "Welcome";
- } else {
- echo "No";
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement