mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Adds a similar note to the one I just added in curl_setopt() to explain variance in enctypes with string vs. array.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279442 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
da0a5ae4c5
commit
6c0bf26106
1 changed files with 14 additions and 1 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<refentry xml:id="function.curl-setopt-array" xmlns="http://docbook.org/ns/docbook">
|
||||
<refnamediv>
|
||||
<refname>curl_setopt_array</refname>
|
||||
|
@ -104,6 +104,19 @@ if (!function_exists('curl_setopt_array')) {
|
|||
</para>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="notes">
|
||||
&reftitle.notes;
|
||||
<note>
|
||||
<para>
|
||||
As with <member><function>curl_setopt</function></member>, passing an
|
||||
array to <entry><constant>CURLOPT_POST</constant></entry>
|
||||
will encode the data as <emphasis>multipart/form-data</emphasis>,
|
||||
while passing a URL-encoded string will encode the data as
|
||||
<emphasis>application/x-www-form-urlencoded</emphasis>.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
||||
<refsect1 role="seealso">
|
||||
&reftitle.seealso;
|
||||
<para>
|
||||
|
|
Loading…
Reference in a new issue