Guest User

Untitled

a guest
Aug 12th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. Separate MySQL Server Login File
  2. $db_user = 'fred';
  3. $db_pass = 'flintstone';
  4. $db_name = 'bedrock';
  5. $db_host = 'localhost';
  6.  
  7. require_once('dbcredentials.php');
  8. $conn = mysql_connect($db_host, $db_user, $db_pass) or die(mysql_error());
Add Comment
Please, Sign In to add comment