SHARE
TWEET

Untitled

a guest Mar 20th, 2017 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3. session_start();
  4.  
  5. if (mysql_connect('localhost', 'root', ''))  
  6. {
  7.    
  8.       $check = mysql_query("SELECT login, pass FROM user WHERE user=.$_POST[0]. AND pass=.sha1($_POST[1]).");
  9. }
  10.  
  11.  
  12.  
  13.  
  14. ?>
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