Advertisement
Guest User

Untitled

a guest
Jun 29th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.62 KB | None | 0 0
  1. <? // Configuration file
  2.  
  3. // Website Details
  4.     $sitename = "Your site title";
  5.  
  6. // Database Credentials
  7.     // If you do not know how to set up the database information by hand,
  8.     // use the pre-created settings editor your site was given.
  9.     $mysql_host = "127.0.0.1"; // Mysql Server IP
  10.     $mysql_rdb = "realmd"; // Mysql Database Name
  11.     $mysql_user = "admin"; // Mysql Username Information
  12.     $mysql_pass = "ascent"; // Mysql Database Password
  13.  
  14.     // Connect to Database
  15.     $rcon = mysql_connect($mysql_host, $mysql_user, $mysql_pass) or die(mysql_error());
  16.     $rdb = mysql_select_db($mysql_rdb, $rcon) or die(mysql_error());
  17.  
  18. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement