PEAR_Config::readFTPConfigFile

PEAR_Config::readFTPConfigFile() – readFTPConfigFile

Synopsis

require_once '/Config.php'; (since PEAR 1.4.0)

true|PEAR_Error PEAR_Config::readFTPConfigFile ( string $path )

Description

Process a ftp configuration file by connecting to the server, retrieving the configuration file and parsing it normally. This function uses Net_FTP through the PEAR_FTP class.

Parameter

string $path

url to the remote config file, like ftp://www.example.com/pear/config.ini

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Reads configuration data from a file (Previous) Remove a config key from a config layer (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.