Advertisement
Guest User

Untitled

a guest
Aug 8th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. <?php
  2. $username = $_POST['username'];
  3. $password = $_POST['password'];
  4. if($username&&$password)
  5. {
  6. $connect = mysql_connect("localhost","root","") or die("Couln't connect");
  7. mysql_select_db("login") or die("Coulnt...");
  8. }
  9. else
  10. die("Please enter a username and password");
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement