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
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Damien Seguy
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Jon Parise
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Daniel Beckham
- Re: [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml jeroen
- Re: [PHP-DOC] cvs: phpdoc /en/functions filesystem.xm... Daniel Beckham
- Re: [PHP-DOC] cvs: phpdoc /en/functions filesystem.xm... Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Daniel Beckham
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Jim Winstead
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Ken Coar
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Philip Olson
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Zak Greant
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Gabor Hojtsy
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml Sterling Hughes
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml jim winstead
- [PHP-DOC] cvs: phpdoc /en/functions filesystem.xml jim winstead