cvs: phpdoc /en/functions filesystem.xml
| From: | Ken Coar | Date: | Sun, 08 Jul 2001 13:37:40 +0000 |
| Subject: | cvs: phpdoc /en/functions filesystem.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969335963@lists.php.net to get a copy of this message | ||
coar Sun Jul 8 09:37:40 2001 EDT
Modified files:
/phpdoc/en/functions filesystem.xml
Log:
A little clarification about what you get when you read from an
fopen'd http:// URL.
Index: phpdoc/en/functions/filesystem.xml
diff -u phpdoc/en/functions/filesystem.xml:1.76 phpdoc/en/functions/filesystem.xml:1.77
--- phpdoc/en/functions/filesystem.xml:1.76 Sat Jul 7 23:54:12 2001
+++ phpdoc/en/functions/filesystem.xml Sun Jul 8 09:37:39 2001
@@ -1140,9 +1140,15 @@
<simpara>
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. A 'Host:' header is sent with the
+ specified server, the page is requested using the HTTP GET
+ method, and a file pointer is returned to the beginning
+ of the body of the response. A 'Host:' header is sent with the
request in order to handle name-based virtual hosts.
+ </simpara>
+ <simpara>
+ Note that the file pointer allows you to retrieve only the
+ <emphasis>body</emphasis> of the response; you cannot
+ access the HTTP response header using this function.
</simpara>
<simpara>
Versions prior to PHP 4.0.5 do not handle HTTP redirects. Because