PEAR_Info::setProxy
PEAR_Info::setProxy() – Sets PEAR HTTP Proxy Server Address
Synopsis
require_once 'PEAR/Info.php';
boolean PEAR_Info::setProxy (
string $proxy
)
Описание
Sets http_proxy config setting at runtime.
Since version 1.7.0RC1, it become unnecessary, unless you don't want to use the http_proxy config setting of your PEAR config file.
Parameter
-
string
$proxy
-
PEAR HTTP Proxy Server Address
Since
since version 1.0.6 (2003-05-11)
Throws
throws no exceptions thrown
Замечание
This function should be called statically.
Return value
boolean - TRUE if the http proxy server address was set successfully, FALSE otherwise.