Created
December 27, 2016 00:31
-
-
Save asanand3/259b7c03c5e27cdcb51077c9c60a3503 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if($_SERVER['REQUEST_METHOD']=='POST'){ | |
$username = $_POST['username']; | |
$password = $_POST['password']; | |
if($username == "admin" && $password == "admin"){ | |
echo 'success'; | |
}else{ | |
echo 'fail'; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment