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: Wed, 17 Sep 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.