Web site hosting and cheap domain registration services
  

 Home

PEAR Manual
PrevNext

PEAR_Config::readConfigFile()

PEAR_Config::readConfigFile() -- Reads configuration data from a file

Description

Reads configuration data from a file. All existing values in the config layer are discarded and replaced with data from the file.

Parameter

string $file

file to read from, if NULL or not specified, the last-used file for the same layer (second param) is used

string $layer

config layer to insert data into ('user' or 'system')

Return value

bool - Returns TRUE on success, PEAR_Error on failure.

Note

This function can not be called statically.


PrevHomeNext
PEAR_Config::mergeConfigFile()UpPEAR_Config::remove()
 

 

 

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

Disclaimers: This documentation is provided only for the benefits of our website hosting customers.
For authoritative source of the documentation, please refer to http://pear.php.net/manual/

Recommended Resources: