Login   Register  
PHP Classes
elePHPant
Icontem

File: databaseConfig.inc.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Bulent Tezcan  >  AdvancedForm  >  databaseConfig.inc.php  >  Download  
File: databaseConfig.inc.php
Role: Configuration script
Content type: text/plain
Description: database configuration file
Class: AdvancedForm
Generate forms inside a table, which supports CSS.
Author: By
Last change:
Date: 12 years ago
Size: 1,152 bytes
 

Contents

Class file image Download
<?php
#############################################################################
#
#        Start your seetings from here
#
#############################################################################



# we don't want to use Global variables.

# check the adodb/readme.htm for more information about the databse types

#define("DATABASE_SOFTWARE",            "postgres7");
define("DATABASE_SOFTWARE",            "mysql");

define("DB_LOCATION",                        "localhost");

#define("DB_ACCOUNT",                        "postgres");
define("DB_ACCOUNT",                        "root");

define("DB_PASSWORD",                        "");

define("DB_DATABASE",                        "mydatabase");

# type the directory where you installed ADODB, again no trailing slash
# this is relative to where the security directory is.
# By default it comes inside the security directory
# If you want to move it outside the security directory than you can write
# something like that: ../adodb
define("ADODB_DIRECTORY",                        "adodb");

#############################################################################
#
#        End your seetings here
#
#############################################################################
?>