From 0d71bfe70603d98b2c181a2fc100922d4ef377f4 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 1 Oct 2008 08:37:21 +0000 Subject: [PATCH] Fixed bug #44519 (curl documentation lists CURLOPT_POSTFIELDS as string, should be mixed) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@266871 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/curl/functions/curl-setopt.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index 8e3c87e226..95f8371f32 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -1,5 +1,5 @@ - + curl_setopt @@ -783,7 +783,9 @@ The full data to post in a HTTP "POST" operation. To post a file, prepend a filename with @ and - use the full path. + use the full path. This can either be passed as a urlencoded + string like 'para1=val1¶2=val2&...' or as an array with the + field name as key and field data as value.