Login   Register  
PHP Classes
elePHPant
Icontem

File: configuration_factory/configuration.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of joel  >  POG - PHP Code Generator  >  configuration_factory/configuration.php  >  Download  
File: configuration_factory/configuration.php
Role: Configuration script
Content type: text/plain
Description: configuration file for php 4 and php 5
Class: POG - PHP Code Generator
Generate object-relational mapping classes
Author: By
Last change:
Date: 2006-05-20 10:29
Size: 609 bytes
 

Contents

Class file image Download
<?php
if (!isset($_SESSION))
{
    
session_start();
}
global 
$configuration;
$configuration['soap'] = "&soap";
$configuration['revisionNumber'] = "&revisionNumber";
$configuration['versionNumber'] = "&versionNumber";

$configuration['db_encoding'] = &db_encoding;

// edit the information below to match your database settings

$configuration['db']    = 'test';         //    database name
$configuration['host']    = 'localhost';    //    database host
$configuration['user']    = 'root';        //    database user
$configuration['pass']    = 'pass';        //    database password
$configuration['port']     = '3306';        //    database port
?>