Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /**********************************************************************************
- * BNLS.php *
- ***********************************************************************************
- * *
- * Execution file for "BNLS Server Statusation. *
- * *
- * Copyright (c) 2010 by Scope *
- * All rights reserved. Redistribution prohibited except at SimpleMachines.org *
- * *
- **********************************************************************************/
- if (!defined('SMF'))
- die('Hacking attempt...');
- function BNLS()
- {
- // connect to the database
- $dbhost = "localhost";
- $dbuser = "bnetweb_misc";
- $dbpass = "rNt=zl7{4GcK";
- $dbname = "bnetweb_misc";
- // Connect
- $db = mysql_pconnect($dbhost,$dbuser,$dbpass) or die ('Error: ' . mysql_error());
- mysql_select_db("$dbname",$db);
- loadTemplate('BNLS');
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement