note 108583 added to function.curl-setopt
| From: | jeffb at nospam dot videx dot com | Date: | Tue, 08 May 2012 22:53:38 +0000 |
| Subject: | note 108583 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-187531@lists.php.net to get a copy of this message | ||
When trying to pass a multi-dimensional array to CURLOPT_POSTFIELDS, first run it through
http_build_query(). That will get rid of the Array to String conversion notice.
----
Server IP: 192.41.42.26
Probable Submitter: 65.122.251.41
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/108583
Del: integrated -- https://master.php.net/note/delete/108583/integrated
Del: useless -- https://master.php.net/note/delete/108583/useless
Del: bad code -- https://master.php.net/note/delete/108583/bad+code
Del: spam -- https://master.php.net/note/delete/108583/spam
Del: non-english -- https://master.php.net/note/delete/108583/non-english
Del: in docs -- https://master.php.net/note/delete/108583/in+docs
Del: other reasons-- https://master.php.net/note/delete/108583
Reject -- https://master.php.net/note/reject/108583
Search -- https://master.php.net/manage/user-notes.php