note 84832 added to function.curl-setopt
| From: | Anonymous at osu1 dot php dot net | Date: | Fri, 01 Aug 2008 08:03:15 +0000 |
| Subject: | note 84832 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-143001@lists.php.net to get a copy of this message | ||
Be careful when following Salil Kothadia's suggestion of using http_build_query with
CURLOPT_POSTFIELDS.
As pinkgothic at gmail dot com explains on the http_build_query page: "Be careful if
you're assuming that arg_separator defaults to '&'." For example, XAMPP
changes the default in PHP.ini to '& amp' which may cause hours of frustration when
trying to resolve failed form submissions.
----
Server IP: 92.48.100.16
Probable Submitter: 82.10.103.90
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/84832
Del: integrated -- https://master.php.net/note/delete/84832/integrated
Del: useless -- https://master.php.net/note/delete/84832/useless
Del: bad code -- https://master.php.net/note/delete/84832/bad+code
Del: spam -- https://master.php.net/note/delete/84832/spam
Del: non-english -- https://master.php.net/note/delete/84832/non-english
Del: in docs -- https://master.php.net/note/delete/84832/in+docs
Del: other reasons-- https://master.php.net/note/delete/84832
Reject -- https://master.php.net/note/reject/84832
Search -- https://master.php.net/manage/user-notes.php