Advertisement
Guest User

Untitled

a guest
May 1st, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.21 KB | None | 0 0
  1. <?php
  2. /**********************************************************************************
  3. * BNLS.php                                                                        *
  4. ***********************************************************************************
  5. *                                                                                 *
  6. * Execution file for "BNLS Server Statusation.                                    *
  7. *                                                                                 *
  8. * Copyright (c) 2010 by Scope                                                     *
  9. * All rights reserved. Redistribution prohibited except at SimpleMachines.org     *
  10. *                                                                                 *
  11. **********************************************************************************/
  12.  
  13. if (!defined('SMF'))
  14.     die('Hacking attempt...');
  15.  
  16. function BNLS()
  17. {
  18.     // connect to the database
  19.     $dbhost = "localhost";
  20.     $dbuser = "bnetweb_misc";
  21.     $dbpass = "rNt=zl7{4GcK";
  22.     $dbname = "bnetweb_misc";
  23.  
  24.     // Connect
  25.     $db = mysql_pconnect($dbhost,$dbuser,$dbpass) or die ('Error: ' . mysql_error());
  26.     mysql_select_db("$dbname",$db);
  27.    
  28.     loadTemplate('BNLS');
  29. }
  30.    
  31. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement