Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.90 KB | None | 0 0
  1. <?php
  2. /*------------------------------------------
  3. | Kode kings config file
  4. | Do not distribute
  5. | Made by potaters
  6. | 2011
  7. |------------------------------------------*/
  8.  
  9. $dbhost = 'localhost';
  10.  
  11. $dbuser = 'hexen0r_lol';
  12.  
  13. $dbpass = '1337';
  14.  
  15. $dbname = 'hexen0r_';
  16.  
  17. $conn = mysql_connect($dbhost, $dbuser, $dbpass) or die ('Error establishing a connection to MySQL');
  18.  
  19. mysql_select_db('$dbname');
  20.  
  21. //end mysql configuration
  22. //begin website configuration
  23.  
  24. $CONFIG_SITENAME = "KodeKings";
  25.  
  26. $CONFIG_EMAIL = 'hexen0r@gmail.com';
  27.  
  28. $CONFIG_REGOPEN = 1;
  29. //1 means open, 0 is closed registration
  30.  
  31. //links in header
  32.  
  33. $link1 = "./index.php";
  34. $link1_text = "Home";
  35. $link2 = "./about.html";
  36. $link2_text = "About";
  37. $link3 = "./downloads.php";
  38. $link3_text = "Downloads";
  39. $link4 = "./signup.php";
  40. $link4_text = "Sign up";
  41. $link5 = "./posts.php";
  42. $link5_text = "Posts";
  43. $link6 = "./contact.html";
  44.  
  45. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement