* not curl but I behaved weird
authorMichael Wallner <mike@php.net>
Thu, 24 Feb 2005 19:11:38 +0000 (19:11 +0000)
committerMichael Wallner <mike@php.net>
Thu, 24 Feb 2005 19:11:38 +0000 (19:11 +0000)
http_methods.c

index 57a7c2b579d31e53fa6ce37848f2f81d3f7d6a9c..6f3ba2ce2cd1937aefc865d59da4d582b2457547 100644 (file)
@@ -1083,7 +1083,6 @@ PHP_METHOD(HTTPi_Request, send)
 
                                                        curl_formadd(&http_post_data[0], &http_post_data[1],
                                                                CURLFORM_COPYNAME,              Z_STRVAL_PP(name),
-                                                               CURLFORM_FILENAME,              Z_STRVAL_PP(name),
                                                                CURLFORM_FILE,                  Z_STRVAL_PP(file),
                                                                CURLFORM_CONTENTTYPE,   Z_STRVAL_PP(type),
                                                                CURLFORM_END