<?php
date_default_timezone_set('Asia/Kolkata');
/* date_default_timezone_set('Asia/Riyadh'); */
define('TBL',"");
define('DB',"drsekaran_sekaran");
class Dbcon extends mysqli
{
protected $servername = "localhost";
protected $username = "drsekaran_sekaran";
protected $password = "Jayatech@123";
protected $dbname = "drsekaran_sekaran";
/* protected $dbname = "ecicerti_certnew"; */
/* protected $dbname = "ecicerti_ecidesign"; */
function __construct()
{
parent::__construct($this->servername, $this->username, $this->password, $this->dbname);
if (mysqli_connect_error())
{
die('Connect Error (' . mysqli_connect_errno() . ')'. mysqli_connect_error());
}
}
}
$conn = new Dbcon;
$home_path='https://drsekaran.com/';
$download_path='/admin/download/';
$download_path1='/drsekaran.com/dropdownload/';
$download_path12='/drsekaran.com/dropdownload1/';
$download_path2='/dropdownload/';
//$conn = new Dbcon;
?> |