Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(isset($_POST["username"]) and isset($_POST["password"])){
- if($str_username == "admin" and $str_password == "password")
- {
- $_SESSION["login"] = "verified";
- header('location:index.php');
- }
- else{
- echo "Invalid Username and/or Password";
- }}
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement