does anyone know what to put in the DB.php file for PEAR
i found this script for a PEAR confg file
<?php
require_once 'DB.php'; //require the PEAR:: DB classes.
$db_engine = 'mysql';
$db_user = 'mdmavxtbcd75';
$db_pass = 'PIil08jrhXqqJpe';
$db_host = 'localhost';
$db_name = 'mdmavxtbcd75';
$datasource = $db_engine.'://'.$db_user.':'.$db_pass.'@'.$db_host.'/'.$db_name;
$db_object = DB::connect($datasource, TRUE);
/* assign database object in $db_object, if the connection fails $db_object will contain
the error message. */
if(DB::isError($db_object)) {
die($db_object->getMessage()); // If $db_object contains an error print out the
} // error and exit.
$db_object->setFetchMode(DB_FETCHMODE_ASSOC);
?>
I just don't know what to put in the DB.php file
Thanks in advance to any replies