'localhost','user'=>'azjargal','pass'=>'MnGazGal41jaR','base'=>'azjargaldb','port'=>'3306'); ?> func(); $oReq = new Request; require_once dirname(dirname(__FILE__)).'/defines/consts.php'; if(isset($_POST['func'])){ $oAjax = new Ajax; $oAjax->process(); } $oAcc = new Account; $oDb = new Database; $oReq->run(); ?>