note 2041 modified in fopen by ronabop

From: Date: Mon, 02 Oct 2000 10:48:58 +0000
Subject: note 2041 modified in fopen by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-5897@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. http://www.php.net/manual/function.fopen.php

« previous php.notes (#5897) next »