dnl ----
dnl DONE
dnl ----
- PHP_HTTP_SOURCES="http.c http_functions.c http_methods.c phpstr/phpstr.c \
+ PHP_HTTP_SOURCES="missing.c http.c http_functions.c http_methods.c phpstr/phpstr.c \
http_util_object.c http_message_object.c http_request_object.c \
http_response_object.c http_exception_object.c \
- http_api.c http_auth_api.c http_cache_api.c http_curl_api.c http_date_api.c \
+ http_api.c http_auth_api.c http_cache_api.c http_request_api.c http_date_api.c \
http_headers_api.c http_message_api.c http_send_api.c http_url_api.c"
PHP_NEW_EXTENSION([http], $PHP_HTTP_SOURCES, [$ext_shared])
PHP_SUBST([HTTP_SHARED_LIBADD])
php_stream_statbuf ssb;
zval *file = GET_PROP(obj, putFile);
- if ( (stream = php_stream_open_wrapper(Z_STRVAL_P(file), , "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL)) &&
+ if ( (stream = php_stream_open_wrapper(Z_STRVAL_P(file), "rb", REPORT_ERRORS|ENFORCE_SAFE_MODE, NULL)) &&
!php_stream_stat(stream, &ssb)) {
body.type = HTTP_REQUEST_BODY_UPLOADFILE;
body.data = stream;