Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?
- $login = array("admin"=>"pass1","armin"=>"psaa1");
- $user = "armin";
- $pass = "psaa1";
- $key = array_search($pass, $login);
- if($key == $user){
- echo "ok";
- $authorized = true;
- }else{
- echo "fail";
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement