diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index 8904edb6da..cc82888edf 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -867,14 +867,20 @@ CURLOPT_POSTFIELDS - The full data to post in a HTTP "POST" operation. - To post a file, prepend a filename with @ and - use the full path. This can either be passed as a urlencoded - string like 'para1=val1&para2=val2&...' - or as an array with the field name as key and field data as value. - If value is an array, the - Content-Type header will be set to - multipart/form-data. + + The full data to post in a HTTP "POST" operation. + To post a file, prepend a filename with @ and + use the full path. This can either be passed as a urlencoded + string like 'para1=val1&para2=val2&...' + or as an array with the field name as key and field data as value. + If value is an array, the + Content-Type header will be set to + multipart/form-data. + + + As of PHP 5.2.0, files thats passed to this option with the + @ prefix must be in array form to work. +