mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
63885a3876
commit
987c42587c
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue