Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 16378 программистов и 1697 роботов. Сейчас ищут 1413 программистов ...
PEAR_Info::setProxy
Вернуться к: Reference guide
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
Note
This function should be called statically.
Return value
boolean - TRUE if the http proxy server address was set successfully, FALSE otherwise.
Вернуться к: Reference guide