Error : Can not connect to the Server. \n"); define("kDBError", "
Error : Unknown database name.\n"); define("kSQLError", "
Error : Can not execute SQL command."); ini_set('error_report','2047'); ini_set('display_errors','1'); // Access ,connect via ODBC - tbl is a DSN define("kDSN_MS","odbc://admin@tbl"); // Mysql define("kDSN_MySQL","mysql://web_user:web_user@localhost/db_oncalendar"); // define Global Variable define("CSS_DIRECTORY","css"); // define("CSS_DIRECTORY","/emeeting/css"); define("JS_DIRECTORY","js"); // define("JS_DIRECTORY","/emeeting/js"); define("IMG_DIRECTORY","images"); // define("IMG_DIRECTORY","/emeeting/images"); define("DOC_PATH", "document/"); // define document path define("RPT_PATH", "document_report/"); // define report path define("CON_PATH", "document_conclusion/"); // define conclusion path define("SHARED_PATH", "file_sharing/"); // define file sharing path define("PERSON_PATH", "person/"); // define person images path define("UPLOAD_ROOT","c:/appserv/www/e-meeting/"); // define root directory define("WEB_ROOT", "c:/appserv/www/e-meeting/"); // define web directory //define("URL","http://202.28.25.4/e-meeting/"); // define url //define("IP","http://202.28.25.4/"); // define ip define("URL","http://uniserv.cmu.ac.th/e-meeting/"); // define url define("IP","http://172.17.1.4/"); // define ip define("kPageTitle","e-Meeting : ระบบการประชุมอิเล็กทรอนิกส์");; $tblcolor = "#D7D7D7"; $tblheadcolor = "#D6EFFF"; $tblcolorwb = "Lavender"; $tblbgcolor = "#EBF7FF"; //pale blue $tbllinecolor = "#FFA500"; // orange $tblcolor0 = "#FFFFFF"; $tblcolor1 = "#646262"; $tblcolor2 = "#E3DCE8"; $tblcolor3 = "#DEEBF7"; $tblcolor4 = "#FBFBF7"; $tblcolor5 = "#EFEFEC"; $tblcolor6 ="WhiteSmoke"; $tblcolor7 = "#ECECEC"; $tblcolor8 = "#F7F7F7"; $tblcolor9 = "#75B2FD"; $w_make_selection = "กรุณาเลือกข้อมูลที่ต้องการลบ"; $w_are_you_sure = "ยืนยันเพื่อลบข้อมูล"; $w_sure_del_file = "ยืนยันเพื่อลบไฟล์"; $star = "*"; $textcolor1= "black"; $textcolor2= "#FF6633"; $textcolor3= "#034B5D"; $arr_menu = array("กรอกข้อมูล"); $arr_link = array(""); //define session if (isset($_SESSION)) session_destroy(); @session_start(); //$garbage_timeout = 3600; // 3600 seconds = 60 minutes = 1 hour //ini_set(’session.gc_maxlifetime’, $garbage_timeout); //session_start(); // Start session variables ?>
( ! ) Notice: Use of undefined constant kDB_HOST - assumed 'kDB_HOST' in C:\wamp\www\e-meeting\lib\functions.php on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4

( ! ) Notice: Use of undefined constant kDB_USER - assumed 'kDB_USER' in C:\wamp\www\e-meeting\lib\functions.php on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4

( ! ) Notice: Use of undefined constant kDB_PASS - assumed 'kDB_PASS' in C:\wamp\www\e-meeting\lib\functions.php on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4

( ! ) Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\e-meeting\lib\functions.php on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4
30.01951021816mysql_connect ( )..\functions.php:25

( ! ) Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: [2002] php_network_getaddresses: getaddrinfo failed: No such host is known. (trying to connect via tcp://kDB_HOST:3306) in C:\wamp\www\e-meeting\lib\functions.php on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4
30.01951021816mysql_connect ( )..\functions.php:25

( ! ) Warning: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: php_network_getaddresses: getaddrinfo failed: No such host is known. in C:\wamp\www\e-meeting\lib\functions.php on line 25
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4
30.01951021816mysql_connect ( )..\functions.php:25

( ! ) Notice: Use of undefined constant kDB_NAME - assumed 'kDB_NAME' in C:\wamp\www\e-meeting\lib\functions.php on line 27
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4

( ! ) Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in C:\wamp\www\e-meeting\lib\functions.php on line 27
Call Stack
#TimeMemoryFunctionLocation
10.0072685224{main}( )..\index.php:0
20.01921021528connect( )..\index.php:4
33.32861028880mysql_select_db ( )..\functions.php:27
can not connect