[prev in list] [next in list] [prev in thread] [next in thread]
List: php-doc-cvs
Subject: [DOC-CVS] cvs: phpdoc /en/reference/curl/functions curl-setopt-array.xml
From: "Daniel P. Brown" <danbrown () php ! net>
Date: 2009-04-27 15:24:04
Message-ID: cvsdanbrown1240845844 () cvsserver
[Download RAW message or body]
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>
--
PHP Documentation Commits Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic