ID: 6701
Updated by: jan
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Feature/Change Request
Operating System: Customized RedHat 6.2
PHP Version: 4.0.0
New Comment:
although the request should remain open, this specific problem can be
solved using PEAR::Cache.
Previous Comments:
------------------------------------------------------------------------
[2000-09-12 23:39:12] [EMAIL PROTECTED]
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.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=6701&edit=1
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]