daily pastebin goal
11%
SHARE
TWEET

Untitled

a guest Jun 18th, 2017 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.                     $con = 'includes/conect_db.php';
  2.                     if(file_exists($con)) {
  3.                         include($con);
  4.                     }
  5.                      
  6.  
  7.                     $login = " SELECT U.id, U.nome AS uNome, U.username, U.id_zp_rh, U.grupo, U.status FROM zp_user U WHERE ( U.username = '$user' AND U.password = '$password' ) AND ( U.status = 1 ) LIMIT 1 ";                  
  8.  
  9.                     try {
  10.                         $res = $db->prepare($login);
  11.                         $res->execute();
  12.                     }catch(PDOExecption $e) {
  13.                         echo 'O sistema está informando este erro: <br />
  14.                               <i class="f14">'.$e->getMessage().'</i>';
  15.                     }
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
 
Top