<?php
if(!defined('INCLUDE_CHECK')) die('You are not allowed to execute this file directly');
class db_connect2
{ 
    private $host = "localhost";
    private $user_name = "oscotech_oscopt";
    private $password = "oscopt"; 
    private  $database = "oscotech_portal";
    function __construct()
    {
        mysql_connect($this->host, $this->user_name, $this->password) or die("Error in Connecting to Database!");
        mysql_select_db($this->database) or die("Database connection failed!");
    }
}
?>