hi,
only one thing - insted of two empty lines it sounds (at least to me) that a
false value or a single empty line will be ok. there cannot be empty line in
header.
i haven't time to look at the patch, sorry.
b.
----- Original Message -----
From: "Stig Venaas" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 11, 2001 10:09 AM
Subject: [PHP-DEV] fopen() changes, please review this patch
> Hi
>
> I've changed http_fopen_wrapper.c (not in CVS yet) so that it follows
> redirects, just like fopen() did before 4.0.3, which I think is good.
> I've also changed $http_response_header so that all headers will be
> present. For instance if I do fopen("http://yahoo.com/", "r") the
> contents will be:
>
> array(7) {
> [0]=>
> string(15) "HTTP/1.0 302 RD"
> [1]=>
> string(31) "Location: http://www.yahoo.com/"
> [2]=>
> string(0) ""
> [3]=>
> string(0) ""
> [4]=>
> string(15) "HTTP/1.0 200 OK"
> [5]=>
> string(21) "Content-Length: 15315"
--
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]