Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $username = $_PORT['username'];
- $password = $_POST['password'];
- if ($username&&$password)
- {
- $connect = mysql_connect("mysql9.000webhost.com","USERNAME","PASSWORD") or die ("Couldn't connect");
- mysql_select_db("DATABASE") or die ("Couldn't find database");
- }
- else
- die("Please enter a username and password");
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement