PHP Classes

File: complex-example/view/include/

Recommend this page to a friend!
  Classes of none   Raw AJAX Wrapper   complex-example/view/include/   Download  
File: complex-example/view/include/
Role: Example script
Content type: text/plain
Description: Define useful const
Class: Raw AJAX Wrapper
Generate JavaScript to send AJAX requests
Author: By
Last change:
Date: 9 years ago
Size: 432 bytes


Class file image Download
 * if TRUE, enable verbosity for debug pourposes
define('DEBUG', FALSE);
 * rootdir of project
define('ROOT', dirname(__FILE__).'/../..');
 * connection to database
define("DB_HOST", "localhost");
define("DB_NAME", "address_book");
define("DB_USER", "addbookUser");
define("DB_PASSWORD", "rzm3XUzEww28jzVV");
 * auto load name of server
define("SERVER", "http://{$_SERVER['SERVER_NAME']}");