Login   Register  
PHP Classes
elePHPant
Icontem

File: dbConnection.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of raja  >  Login and DB classes quick start  >  dbConnection.php  >  Download  
File: dbConnection.php
Role: Auxiliary script
Content type: text/plain
Description: database connection
Class: Login and DB classes quick start
Authenticate users with records in MySQL database
Author: By
Last change:
Date: 6 years ago
Size: 475 bytes
 

Contents

Class file image Download
<?
include dirname(__FILE__)."/../config.php";

$GLOBALS['KDBHost']=$server;
$GLOBALS['KDBUser']=$db_user;
$GLOBALS['KDBPassword']=$db_pass;
$GLOBALS['KDBSelect']=$database;

$db_connection =$link;

//= mysql_connect( $GLOBALS['KDBHost'] , $GLOBALS['KDBUser'], $GLOBALS['KDBPassword']) or die("connection problem in mysql_connect in database.php");
//mysql_select_db ( $GLOBALS['KDBSelect'] ,$db_connection ) or die("db selection problem in database.php");


?>