Get values of configuration.php paramaters in joomla 1.6 & 1.7 by this codes:
$config =& JFactory::getConfig();$host = $config->getValue( 'host' );