Proxy-Authorization in PHP???
| From: | Rajesh Kumar | Date: | Sun, 19 Nov 2000 09:01:38 +0000 |
| Subject: | Proxy-Authorization in PHP??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26115@lists.php.net to get a copy of this message | ||
How to do proxy authorization in PHP ??
I want t open page for eg. http://www.yahoo.com,"r" using
fopen. I am unable to do, because in our institute we need to
to give userid:pwd to access internet. How to bypass internal
proxy server. For e.g. in WEBL we need to include following lines-
import Base64;
var A = "Basic " +Base64_Encode("$user:$passwd");
var P=GetURL("http://www.mailcity.com",nil,[."Proxy-Authorization"=A.]);
Do we have something similar in PHP or is there some other way for proxy
authorization ?????
Please help !!!
rajesh