note 107146 added to function.curl-setopt
| From: | AdamMonsen at osu1 dot php dot net | Date: | Wed, 11 Jan 2012 00:36:48 +0000 |
| Subject: | note 107146 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-185559@lists.php.net to get a copy of this message | ||
CURLOPT_POST must be left unset if you want the Content-Type header set to
"multipart/form-data" (e.g., when CURLOPT_POSTFIELDS is an array). If you set
CURLOPT_POSTFIELDS to an array and have CURLOPT_POST set to TRUE, Content-Length will be -1 and most
sane servers will reject the request. If you set CURLOPT_POSTFIELDS to an array and have
CURLOPT_POST set to FALSE, cURL will send a GET request.
----
Server IP: 69.147.83.197
Probable Submitter: 67.183.136.182
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/107146
Del: integrated -- https://master.php.net/note/delete/107146/integrated
Del: useless -- https://master.php.net/note/delete/107146/useless
Del: bad code -- https://master.php.net/note/delete/107146/bad+code
Del: spam -- https://master.php.net/note/delete/107146/spam
Del: non-english -- https://master.php.net/note/delete/107146/non-english
Del: in docs -- https://master.php.net/note/delete/107146/in+docs
Del: other reasons-- https://master.php.net/note/delete/107146
Reject -- https://master.php.net/note/reject/107146
Search -- https://master.php.net/manage/user-notes.php