Advertisement
Guest User

Untitled

a guest
Jun 7th, 2017
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. <?php
  2. // mySQL information
  3. $server = 'localhost'; // MySql server
  4. $username = 'pageofga_omg246'; // MySql Username
  5. $password = 'PASSWORRRRRRRRRRRRRRRRD' ; // MySql Password
  6. $database = 'pageofga_arcade'; // MySql Database
  7.  
  8. // The following should not be edited
  9. $con = mysql_connect("$server","$username","$password");
  10. if (!$con)
  11. {
  12. die('Could not connect: ' . mysql_error());
  13. }
  14. mysql_select_db("$database", $con);
  15.  
  16.  
  17. // Get settings
  18. if (!isset($install)) {
  19. $sql = mysql_query("SELECT * FROM ava_settings");
  20. while ($get_setting = mysql_fetch_array($sql)) {
  21. $setting[$get_setting['name']] = $get_setting['value'];
  22. }
  23. }
  24.  
  25. // Nuke password
  26. $password = '';
  27. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement