From da0a5ae4c5eb8fea90cfdc71b2ffec0f260114e1 Mon Sep 17 00:00:00 2001 From: "Daniel P. Brown" Date: Mon, 27 Apr 2009 15:21:00 +0000 Subject: [PATCH] Adds the note explaining the different encoding types when sent as string vs. array. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@279441 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/curl/functions/curl-setopt.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/reference/curl/functions/curl-setopt.xml b/reference/curl/functions/curl-setopt.xml index 6479d74ebe..eaccfe0fc1 100644 --- a/reference/curl/functions/curl-setopt.xml +++ b/reference/curl/functions/curl-setopt.xml @@ -1,5 +1,5 @@ - + curl_setopt @@ -1332,6 +1332,18 @@ Array + + &reftitle.notes; + + + Passing an array to CURLOPT_POST + will encode the data as multipart/form-data, + while passing a URL-encoded string will encode the data as + application/x-www-form-urlencoded. + + + + &reftitle.seealso;