PHP 4.0 Bug #731 Updated: HTTP proxy for fopen-wrapper
| From: | jimw@php.net | Date: | Sat, 10 Feb 2001 17:27:48 +0000 |
| Subject: | PHP 4.0 Bug #731 Updated: HTTP proxy for fopen-wrapper | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-46143@lists.php.net to get a copy of this message | ||
ID: 731
Updated by: jimw
Reported By: miko@cnt.pl
Status: Open
Bug Type: Feature/Change Request
Assigned To:
Comments:
refiled against 4.0.
Previous Comments:
---------------------------------------------------------------------------
[1998-09-09 09:30:38] miko@cnt.pl
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");
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=731&edit=2