require_once 'PEAR/config.php';
bool PEAR_Config::writeConfigFile ([string $file = NULL [, bool $layer = 'user']])
bool PEAR_Config::writeConfigFile
Writes data into a config layer from a file.
file to read from
whether to overwrite existing data
bool - Returns TRUE on success, PEAR_Error on failure.
Table 27-1. Possible PEAR_Error values
This function can not be called statically.