- URL-opened files now store the HTTP response header in $http_response_header

- Some layout updates
This commit is contained in:
Zeev Suraski 2000-10-28 01:31:56 +00:00
parent d77aede9a9
commit 3dc7fc54a0
5 changed files with 97 additions and 26 deletions

View file

@ -724,14 +724,14 @@ PHP_MINIT_FUNCTION(basic)
#endif
if(PG(allow_url_fopen)) {
if(FAILURE==php_register_url_wrapper("http",php_fopen_url_wrap_http)) {
if (FAILURE==php_register_url_wrapper("http", php_fopen_url_wrap_http)) {
return FAILURE;
}
if(FAILURE==php_register_url_wrapper("ftp",php_fopen_url_wrap_ftp)) {
return FAILURE;
if (FAILURE==php_register_url_wrapper("ftp", php_fopen_url_wrap_ftp)) {
return FAILURE;
}
if(FAILURE==php_register_url_wrapper("php",php_fopen_url_wrap_php)) {
return FAILURE;
if (FAILURE==php_register_url_wrapper("php", php_fopen_url_wrap_php)) {
return FAILURE;
}
}