X-Git-Url: https://git.m6w6.name/?p=m6w6%2Fext-http;a=blobdiff_plain;f=http.c;h=65c0d91c8918a3cd015fe053522f0fe0f7fde5d4;hp=1d338647995718d39b9507eb3dfdca16de379ded;hb=50343c32560e80c491911b107fab8217a35850eb;hpb=3fcfaba41748c3fd452e84ba6da6ea2d91f28e5e diff --git a/http.c b/http.c index 1d33864..65c0d91 100644 --- a/http.c +++ b/http.c @@ -107,7 +107,9 @@ zend_function_entry http_functions[] = { PHP_FE(http_put_file, http_arg_pass_ref_4) PHP_FE(http_put_stream, http_arg_pass_ref_4) PHP_FE(http_request, http_arg_pass_ref_5) +#ifdef HAVE_CURL_GETFORMDATA PHP_FE(http_request_body_encode, NULL) +#endif #endif PHP_FE(http_request_method_register, NULL) PHP_FE(http_request_method_unregister, NULL)