PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Marcelo Telles   PHP POO Exemplo   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: Configuration script
Class: PHP POO Exemplo
CRUD example using PHP classes
Author: By
Last change:
Date: 10 days ago
Size: 418 bytes
 

Contents

Class file image Download
<?php
//echo substr(getcwd(),0,30);
//echo $_SERVER['HTTP_HOST'];
if($_SERVER['HTTP_HOST']=="127.0.0.1:8033"){
 
define('HOST', 'localhost');
 
define('USER', 'root');
 
define('PASS', 'usbw');
 
define('BASE', 'test');
 
define('PORT', '3307');
 
// Change this to your connection info.
 
$DATABASE_HOST = 'localhost';
 
$DATABASE_USER = 'root';
 
$DATABASE_PASS = 'usbw';
 
$DATABASE_NAME = 'test';
}