note 116987 added to function.curl-getinfo
| From: | Curly | Date: | Mon, 30 Mar 2015 21:55:52 +0000 |
| Subject: | note 116987 added to function.curl-getinfo | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-202088@lists.php.net to get a copy of this message | ||
If you call curl_reset() on a handle that has already been passed to curl_exec(), and then perform a
curl_getinfo() on the same handle, you may expect that you get the same result as if you called
curl_getinfo() immediately after curl_init(). This is not the case, however. cURL will return the
data from the previous execution. If you want to completely reset you actually need to unset the
cURL handle and recreate a new one.
----
Server IP: 72.52.91.14
Probable Submitter: 86.29.95.83
----
Manual Page -- http://php.net/manual/en/function.curl-getinfo.php
Edit -- https://master.php.net/note/edit/116987
Del: integrated -- https://master.php.net/note/delete/116987/integrated
Del: useless -- https://master.php.net/note/delete/116987/useless
Del: bad code -- https://master.php.net/note/delete/116987/bad+code
Del: spam -- https://master.php.net/note/delete/116987/spam
Del: non-english -- https://master.php.net/note/delete/116987/non-english
Del: in docs -- https://master.php.net/note/delete/116987/in+docs
Del: other reasons-- https://master.php.net/note/delete/116987
Reject -- https://master.php.net/note/reject/116987
Search -- https://master.php.net/manage/user-notes.php