Advertisement
Guest User

Phplogin

a guest
Mar 11th, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.30 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("Could not Connect.");
  7. msql_select_db("phplogin") or die("Could not find Db");
  8. }
  9. else
  10.     die("Please enter the Username and Password.");
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement