note 2041 deleted from function.fopen by irc-html
| From: | irc-html@php.net | Date: | Thu, 03 Jan 2002 02:38:30 +0000 |
| Subject: | note 2041 deleted from function.fopen by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24355@lists.php.net to get a copy of this message | ||
Reading a url with a username and password works through a proxy server too, but (as far as I can
tell) you need to enable "basic authentication" on proxy servers that doesn't have
this feature on by default (MS Proxy)
$fp = fopen(proxyuser:proxypassword@www.somehost.com/index.html);
If you specify the wrong proxy userid/password or nothing at all, you will receive a
"success" warning, which is a bit confusing, but obviously nothing from the url you
requested.