cvs: phpdoc /en/reference/curl/functions curl-setopt-array.xml

From: Date: Mon, 27 Apr 2009 15:24:04 +0000
Subject: cvs: phpdoc /en/reference/curl/functions curl-setopt-array.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3898@lists.php.net to get a copy of this message
danbrown Mon Apr 27 15:24:04 2009 UTC Modified files: /phpdoc/en/reference/curl/functions curl-setopt-array.xml Log: Adds a similar note to the one I just added in curl_setopt() to explain variance in enctypes with string vs. array. http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/curl/functions/curl-setopt-array.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc/en/reference/curl/functions/curl-setopt-array.xml diff -u phpdoc/en/reference/curl/functions/curl-setopt-array.xml:1.5 phpdoc/en/reference/curl/functions/curl-setopt-array.xml:1.6 --- phpdoc/en/reference/curl/functions/curl-setopt-array.xml:1.5 Wed Jun 20 22:24:17 2007 +++ phpdoc/en/reference/curl/functions/curl-setopt-array.xml Mon Apr 27 15:24:03 2009 @@ -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 @@ </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>

« previous php.doc.cvs (#3898) next »