note 88669 added to function.curl-setopt
| From: | KdoubleU at osu1 dot php dot net | Date: | Tue, 03 Feb 2009 08:06:19 +0000 |
| Subject: | note 88669 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-150137@lists.php.net to get a copy of this message | ||
In reply to urkle at outoforder dot cc from 28-Jan-2009 02:49
curl_setopt($ch, CURLOPT_HTTPHEADERS,array('Content-Type: application/json"));
has an error: either the apostrophe or the quote is wrong!
curl_setopt($ch, CURLOPT_HTTPHEADERS,array('Content-Type: application/json'));
is working as expected.
----
Server IP: 69.147.83.197
Probable Submitter: 79.231.52.10
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/88669
Del: integrated -- https://master.php.net/note/delete/88669/integrated
Del: useless -- https://master.php.net/note/delete/88669/useless
Del: bad code -- https://master.php.net/note/delete/88669/bad+code
Del: spam -- https://master.php.net/note/delete/88669/spam
Del: non-english -- https://master.php.net/note/delete/88669/non-english
Del: in docs -- https://master.php.net/note/delete/88669/in+docs
Del: other reasons-- https://master.php.net/note/delete/88669
Reject -- https://master.php.net/note/reject/88669
Search -- https://master.php.net/manage/user-notes.php