PHP Classes

File: config.php

Recommend this page to a friend!
  Classes of Eduardo Seijo   My Db   config.php   Download  
File: config.php
Role: Configuration script
Content type: text/plain
Description: configuration file
Class: My Db
Database wrapper for MySQL, Interbase and MSSQL
Author: By
Last change: update the language
Date: 20 years ago
Size: 999 bytes
 

Contents

Class file image Download
<?php
/********************************************************************/
// config.php(V0.01) :
/********************************************************************/
/* in this version you can connect with mysql, mssql and interbase
 * data bases.
 */
//Interface with the data base, the host and the data base server
$DB[0]["server"] = "localhost";
$DB[0]["data_base"] = "revista";
$DB[0]["server_type"] = "mysql";
$DB[1]["server"] = "localhost";
$DB[1]["data_base"] = "data_base_name";
$DB[1]["server_type"] = "interbase";
//Interface with the users of the data base
define("user0",0);
define("user1",1);
define("user2",2);
define("user3",3);
define("user4",4);
$USER[user0]["name"] = "root";
$USER[user0]["password"] = "";
$USER[user1]["name"] = "";
$USER[user1]["password"] = "";
$USER[user2]["name"] = "";
$USER[user2]["password"] = "";
$USER[user3]["name"] = "";
$USER[user3]["password"] = "";
$USER[user4]["name"] = "";
$USER[user4]["password"] = "";
?>