<?php
session_start();
header("Cache-control: private"); //IE 6 Fix
require("DBAL.Class.php");
require("Settings.php");
$SQLHost = "<Host>";
$SQLUser = "<User>";
$SQLPass = "<Pass>";
$SQLDataBase = "<Database>";
$SQLDebug = true;
$SQLDebugLevel = 2; 1= fatal errors, 2= errors, 3= information
$db = null;
try
{
$db = new DBALayer($SQLHost,$SQLUser,$SQLPass,$SQLDataBase, $SQLDebug, $SQLDebugLevel);
}
catch (Exception $e)
{
die ($e->GetMessage());
}
function LoadClass($file)
{
$file = $file.".Class.php";
require($file);
}
/*
* Load Classes Here
*/
LoadClass("DBInteraction");
LoadClass("Settings");
$setting = new Settings();
?>
|