I want to create some files in my component and then delete them. How to I got hold of the $tmp_path variable that was set by the user in the configuration.php file?
$config =& JFactory::getConfig();
$tmp_path = $config->getValue('config.tmp_path');
The API documentation for Joomla! is pretty helpful: JFactory::getConfig