PHP 4.0 Bug #6701: Use of http_proxy for fopen("http:// ...
| From: | mbabcock at fibrespeed dot net | Date: | Wed, 13 Sep 2000 03:39:12 +0000 |
| Subject: | PHP 4.0 Bug #6701: Use of http_proxy for fopen("http:// ... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-33080@lists.php.net to get a copy of this message | ||
From: mbabcock@fibrespeed.net
Operating system: Customized RedHat 6.2
PHP version: 4.0.0
PHP Bug Type: Feature/Change Request
Bug description: Use of http_proxy for fopen("http:// ...
It would be nice if fopen("http://www.mywebsite.com", "r"); used the
value in http_proxy as a proxy server instead of always fetching the data directly. Using CURL is
an option, but its a lot more complex. If this functionality isn't too difficult to achieve,
it would be much appreciated.
For example, I have a PHP program that HTMLizes RFCs and displays them. It grabs the rfc###.txt
directly from http://www.ietf.org/ but there's no reason for
it to refetch them every time if they can be cached by our proxy server.
Note: blanking $http_proxy should disable the proxy.