Login   Register  
PHP Classes
elePHPant
Icontem

File: constants.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Sujay Bhowmick  >  Connection Manager  >  constants.php  >  Download  
File: constants.php
Role: Configuration script
Content type: text/plain
Description: Supporting include file
Class: Connection Manager
Database connection abstraction
Author: By
Last change:
Date: 2003-12-21 21:20
Size: 648 bytes
 

Contents

Class file image Download
<?php
// MySQL Database Constants
define(MYSQL_SERVER_NAME"your_mysql_host_name");
define(MYSQL_DB_USERID"your_mysql_userid");
define(MYSQL_DB_PASSWORD"your_mysql_password");
define(MYSQL_DATABASE_NAME"your_mysql_databasename");

// MSSql Database Constants
define(MSSQL_SERVER_NAME"your_mssql_host_name");
define(MSSQL_DB_USERID"your_mssql_userid");
define(MSSQL_DB_PASSWORD"your_mssql_password");
define(MSSQL_DATABASE_NAME"your_mssql_databasename");


// DATABASE_NAME = MYSQL_DATABASE_NAME if MySQL database
// DATABASE_NAME = MSSQL_DATABASE_NAME if MSSQL database
define(DATABASE_NAMEMYSQL_DATABASE_NAME);
?>