note 109653 added to function.curl-exec
| From: | bertram dot pereira at gmail dot com | Date: | Sun, 05 Aug 2012 23:48:45 +0000 |
| Subject: | note 109653 added to function.curl-exec | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-189926@lists.php.net to get a copy of this message | ||
There will be times when you need to get the response from curl_exec and capture the transfer - this
is not very well documented but you can do so with the CURLOPT_RETURNTRANSFER Option
curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
Bert
----
Server IP: 69.147.83.197
Probable Submitter: 173.55.13.2
----
Manual Page -- http://www.php.net/manual/en/function.curl-exec.php
Edit -- https://master.php.net/note/edit/109653
Del: integrated -- https://master.php.net/note/delete/109653/integrated
Del: useless -- https://master.php.net/note/delete/109653/useless
Del: bad code -- https://master.php.net/note/delete/109653/bad+code
Del: spam -- https://master.php.net/note/delete/109653/spam
Del: non-english -- https://master.php.net/note/delete/109653/non-english
Del: in docs -- https://master.php.net/note/delete/109653/in+docs
Del: other reasons-- https://master.php.net/note/delete/109653
Reject -- https://master.php.net/note/reject/109653
Search -- https://master.php.net/manage/user-notes.php