Bug #731: HTTP proxy for fopen-wrapper
| From: | miko at cnt dot pl | Date: | Wed, 09 Sep 1998 13:30:38 +0000 |
| Subject: | Bug #731: HTTP proxy for fopen-wrapper | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-886@lists.php.net to get a copy of this message | ||
From: miko@cnt.pl
Operating system: all
PHP version: 3.0.3
PHP Bug Type: Feature/Change Request
Bug description:
I would like to have include()/require() (and possibly other) functions
using HTTP/FTP proxy. It would be great if I could decide on every php
page which proxy server to use (if any at all - not needed for local URLs).
In short examples:
include($url, $proxyhost, $proxyport)
or
setproxy($proxyhost, $proxyport); include($url)
or even better (adding protocol):
setproxy($proxyproto, $proxyhost, $proxyport); include($url).
Example:
setproxy("http","w3cache1.com",8080);
setproxy("ftp","ftpproxy.proxy.com",8080);
include("http://www.domain.com");
include("ftp://ftp.domain2.com");
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net