Advertisement
Guest User

Untitled

a guest
Jun 14th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. <?php
  2.  
  3.  
  4. $username = $_POST['username'];
  5. $password = $_POST['password'];
  6.  
  7.  
  8. If($username&&$password)
  9. {
  10.  
  11.  
  12. $connect = mysql_connect("sql101.byetcluster.com","b13_6328153","TURK") or die("Unable to connect to
  13.  
  14. DB! ");
  15. mysql_select_db("b13_6328153_db") or die("Couldn't find DB! ");
  16.  
  17.  
  18.  
  19.  
  20. }
  21. else
  22. die("Please enter a username and password! ");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement