
PK 
<?php
session_start();
error_reporting(E_ALL & ~E_NOTICE & ~E_WARNING ); //~E_STRICT &
if($_SERVER['HTTP_HOST']=='localhost' || $_SERVER['HTTP_HOST']=='myprojectsd'){/* OFFLINE */
$server="localhost";
$username="root";
$password="";
$database="pratyush_aelogifts";
define("MAINURL","http://myprojectsd/Pratyush/Aelogifts.com/site/");
}else{
$server="localhost";
$username="anibklip_aelogifts";
$password="DA3&C0}s5YZo";
$database="anibklip_aelogifts";
define("MAINURL","https://aelogifts.com/");
}
include_once("functions.php");
$GLOBALS['conn']=$conn=mysqli_connect($server,$username,$password) or die( "Unable to connect mysql" . mysqli_error($conn));
mysqli_select_db($conn,$database) or die( "Unable to select database" . mysqli_error($conn));
?>


PK 99