svn: /phpdoc/en/trunk/reference/curl/functions/ curl-setopt.xml
| From: | Kalle Sommer Nielsen | Date: | Sat, 23 Oct 2010 15:05:21 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/curl/functions/ curl-setopt.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7314@lists.php.net to get a copy of this message | ||
kalle Sat, 23 Oct 2010 15:05:21 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304665
Log:
Fixed bug #52331 (Use of @ in CURLOPT_POSTFIELDS is new)
Bug: http://bugs.php.net/52331 (Open) Use of @ in
CURLOPT_POSTFIELDS is new
Changed paths:
U phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml
Modified: phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml
===================================================================
--- phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml 2010-10-23 14:56:22 UTC (rev 304664)
+++ phpdoc/en/trunk/reference/curl/functions/curl-setopt.xml 2010-10-23 15:05:21 UTC (rev 304665)
@@ -867,14 +867,20 @@
<row>
<entry
valign="top"><constant>CURLOPT_POSTFIELDS</constant></entry>
<entry valign="top">
- The full data to post in a HTTP "POST" operation.
- To post a file, prepend a filename with <literal>@</literal> and
- use the full path. This can either be passed as a urlencoded
- string like
'<literal>para1=val1&para2=val2&...</literal>'
- or as an array with the field name as key and field data as value.
- If <parameter>value</parameter> is an array, the
- <literal>Content-Type</literal> header will be set to
- <literal>multipart/form-data</literal>.
+ <simpara>
+ The full data to post in a HTTP "POST" operation.
+ To post a file, prepend a filename with <literal>@</literal> and
+ use the full path. This can either be passed as a urlencoded
+ string like
'<literal>para1=val1&para2=val2&...</literal>'
+ or as an array with the field name as key and field data as value.
+ If <parameter>value</parameter> is an array, the
+ <literal>Content-Type</literal> header will be set to
+ <literal>multipart/form-data</literal>.
+ </simpara>
+ <simpara>
+ As of PHP 5.2.0, files thats passed to this option with the
+ <literal>@</literal> prefix must be in array form to work.
+ </simpara>
</entry>
<entry valign="top">
</entry>