[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.xml
From: "Daniel P. Brown" <danbrown () php ! net>
Date: 2009-04-27 15:21:00
Message-ID: cvsdanbrown1240845660 () cvsserver
[Download RAW message or body]
danbrown Mon Apr 27 15:21:00 2009 UTC
Modified files:
/phpdoc/en/reference/curl/functions curl-setopt.xml
Log:
Adds the note explaining the different encoding types when sent as string vs. \
array.
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/curl/functions/curl-setopt.xml?r1=1.40&r2=1.41&diff_format=u
Index: phpdoc/en/reference/curl/functions/curl-setopt.xml
diff -u phpdoc/en/reference/curl/functions/curl-setopt.xml:1.40 \
phpdoc/en/reference/curl/functions/curl-setopt.xml:1.41
--- phpdoc/en/reference/curl/functions/curl-setopt.xml:1.40 Mon Apr 27 11:37:25 2009
+++ phpdoc/en/reference/curl/functions/curl-setopt.xml Mon Apr 27 15:21:00 2009
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.40 $ -->
+<!-- $Revision: 1.41 $ -->
<refentry xml:id="function.curl-setopt" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>curl_setopt</refname>
@@ -1332,6 +1332,18 @@
</para>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ <note>
+ <para>
+ 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