PHP Classes

File: complex-example/view/include/define.inc.php

Recommend this page to a friend!
  Classes of none  >  Raw AJAX Wrapper  >  complex-example/view/include/define.inc.php  >  Download  
File: complex-example/view/include/define.inc.php
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: 8 years ago
Size: 432 bytes
 

Contents

Class file image Download
<?php
/**
 * 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']}");
?>

For more information send a message to info at phpclasses dot org.