SHARE
TWEET

db.config.php

a guest Jun 13th, 2017 87 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2. $dbHost = 'localhost';
  3. $dbUser = 'test';
  4. $dbPass = 'test123';
  5. $GLOBALS['dbConn'] = @odbc_connect("Driver={SQL Server};Server={$GLOBALS['dbHost']};",$GLOBALS['dbUser'],$GLOBALS['dbPass']) or die('Database Connection Error!');
  6. if(!$GLOBALS['dbConn']){
  7.     exit("Connection failed:".odbc_errormsg());
  8. }
  9. ?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top