Login   Register  
PHP Classes
elePHPant
Icontem

File: configuration_factory/configuration.odbc.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.odbc.php  >  Download  
File: configuration_factory/configuration.odbc.php
Role: Configuration script
Content type: text/plain
Description: configuration for pdo odbc
Class: POG - PHP Code Generator
Generate object-relational mapping classes
Author: By
Last change:
Date: 8 years ago
Size: 528 bytes
 

Contents

Class file image Download
<?php
/**
 * http://www.connectionstrings.com
 */
if (!isset($_SESSION))
{
    
session_start();
}
global 
$configuration;
$configuration['soap'] = "&soap";
$configuration['revisionNumber'] = "&revisionNumber";
$configuration['versionNumber'] = "&versionNumber";

$configuration['pdoDriver']= 'odbc';
$configuration['db_encoding'] = &db_encoding;

// edit the information below to match your database settings

$configuration['odbcDSN'] = "DRIVER=SQL Server;SERVER=localhost\TEST;UID=sa;PWD=pass;DATABASE=test";
?>