| 
<?php
/*
 
 datasource_config.php - A PHP configuration file for the sql.php toolset.
 Copyright (C) 2003 AF-Design (Erik Giberti), All rights reserved.
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.
 
 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 
 */
 
 if (!defined("_DATASOURCE_CONFIG_")){
 define("_DATASOURCE_CONFIG_", TRUE);
 
 // define your datasources here using this sampel datasource definition
 // sample datasource definition
 /*
 $datasource = new datasource(
 '<type>',         // MySQL, MSSQL or PostgreSQL, ODBC, or mSQL depending on your server type
 '<server>',        // localhost, 127.0.0.1, db.host.com if this is an ODBC connection use the datasource name here
 '<port>',        // TCP/IP Port number to connect on can be blank
 '<username>',    // username to access database as
 '<password>',   // password for username
 '<database>'    // database to connect to
 );
 */
 
 $datasource_mysql = new datasource(
 'MySQL',         // MySQL, MSSQL or PostgreSQL, ODBC, or mSQL depending on your server type
 'localhost',    // localhost, 127.0.0.1, db.host.com if this is an ODBC connection use the datasource name here
 '',                // TCP/IP Port number to connect on can be blank
 'username',        // username to access database as
 'password',       // password for username
 'database'        // database to connect to
 );
 
 } // end code lock
 ?>
 |