Make note about fopen URL wrappers sending a Host: header with the request.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@30548 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Torben Wilson 2000-08-20 04:24:40 +00:00
parent 63885a3876
commit 987c42587c

View file

@ -1022,7 +1022,8 @@ $fcontents = join ('', file ('http://www.php.net'));
If <parameter>filename</parameter> begins with "http://" (not
case sensitive), an HTTP 1.0 connection is opened to the
specified server and a file pointer is returned to the beginning
of the text of the response.
of the text of the response. A 'Host:' header is sent with the
request in order to handle name-based virtual hosts.
</simpara>
<simpara>
Does not handle HTTP redirects, so you must include trailing