PEAR_Info::setProxy

PEAR_Info::setProxy() – Sets PEAR HTTP Proxy Server Address

Synopsis

require_once 'PEAR/Info.php';

boolean PEAR_Info::setProxy ( string $proxy )

Description

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

Note

This function should be called statically.

Return value

boolean - TRUE if the http proxy server address was set successfully, FALSE otherwise.

Display the PEAR logo (Previous) Sets the custom style sheet to use your own styles (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.