Guest User

Untitled

a guest
Apr 7th, 2018
596
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. <?php
  2. $host = "localhost";
  3. $username = "root";
  4. $password = "";
  5. $dbname = "habbo";
  6.  
  7. $currentstyle = "Default";
  8. $sitemail = 'yourmail@yourmail.tld';
  9.  
  10. $maintenance = FALSE; //true or false
  11.  
  12. $language = 'pt';
  13.  
  14.  
  15. //Mysql connection
  16. $connect = mysql_connect($host, $username, $password) or die("Could not connect to server, error: ".mysql_error());
  17. $db = mysql_select_db($dbname, $connect) or die("Could not connect to database, error: ".mysql_error());
  18.  
  19. //Sitename
  20. $sitenameq = mysql_fetch_array(mysql_query("SELECT * FROM cms_settings WHERE variable = 'cms_name'"));
  21. $sitename = $sitenameq['value'];
  22. ?>
Add Comment
Please, Sign In to add comment