Advertisement
Guest User

Untitled

a guest
May 30th, 2017
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. <?php
  2. $host['host'] = 'localhost'; // my host
  3. $host['name'] = 'root'; // my database username
  4. $host['password'] = ''; // my database password
  5. $host['database'] = 'abidestory'; // my database name
  6.  
  7. $servername = "AbideStory"; //Your servers name
  8. $serverip = "localhost"; //Replace with your WAN IP if public
  9. $loginport = "8484"; //Don't change
  10. $sql_db = "abidestory"; //DB Name
  11. $sql_host = "localhost"; //DB Host
  12. $sql_user = "root"; //DB User
  13. $sql_pass = ""; //DB Password
  14. $logserv_name = "AbideStory Status: "; //Status Server Name
  15. $offline = "<font color='red'><b><u>Offline</u></b></font>"; //Displays Offline Status
  16. $online = "<font color='green'><b><u>Online</u></b></font>"; //Displays Online Status
  17.  
  18. $db = mysql_connect($host['host'], $host['name'], $host['password']) OR die ('Check config.php');
  19. mysql_select_db($host['database'], $db); //Dont edit!
  20. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement