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

From: Date: Mon, 27 Apr 2009 15:21:00 +0000
Subject: cvs: phpdoc /en/reference/curl/functions curl-setopt.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3897@lists.php.net to get a copy of this message
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>

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