PHP Classes

File: configuration_factory/configuration.php

Recommend this page to a friend!
  Packages 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: 20 years ago
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
?>