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.
$proxy
PEAR HTTP Proxy Server Address
since version 1.0.6 (2003-05-11)
throws no exceptions thrown
This function should be called statically.
boolean - TRUE if the http proxy server address was set successfully, FALSE otherwise.