daily pastebin goal


a guest Aug 12th, 2017 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if($row['active'] == 1) {
  2.         if($row["password"] == $password){
  3.                         $_SESSION["k_username"] = $row['usuario'];
  4.             echo 'Has sido logueado correctamente '.$_SESSION['k_username'].' <p>';
  5.             echo '<a href="index.php">Index</a></p>';
  6.             //Elimina el siguiente comentario si quieres que re-dirigir autom├íticamente a index.php
  7.             /*Ingreso exitoso, ahora sera dirigido a la pagina principal.
  8.             <SCRIPT LANGUAGE="javascript">
  9.             location.href = "index.php";
  10.             </SCRIPT>*/
  11.                 }else{
  12.             echo 'Password incorrecto';
  13.         }
  14.                   }else{
  15.                           echo 'You account is not activaded yet'
  16.                   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand