<?php
//provide your connection data here
define('db_default_host', 'localhost');
define('db_default_user', 'dispo');
define('db_default_password', 'dispo');
define('db_default_database', 'northwind');
function __autoload($className=null) {
$classes = array (
'QTag.class.php',
'QDataObject.class.php',
);
foreach($classes as $class) {
include_once($class);
}
if(!class_exists($className)) {
include_once($className.".class.php");
}
}
|