note 107739 added to function.curl-setopt
| From: | dotpointer at gmail dot com | Date: | Thu, 01 Mar 2012 08:48:17 +0000 |
| Subject: | note 107739 added to function.curl-setopt | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-186440@lists.php.net to get a copy of this message | ||
About CURLOPT_COOKIEJAR and CURLOPT_COOKIEFILE, and which / how to use.
- CURLOPT_COOKIEJAR is used when cURL is reading cookie data from disk.
- CURLOPT_COOKIEFILE is used when cURL is writing the cookie data to disk.
So you need to specify both (and set the same file location on both) when working with sessions for
example.
I found more information here:
http://www.electrictoolbox.com/php-curl-cookies/
----
Server IP: 80.67.10.227
Probable Submitter: 213.136.59.78
----
Manual Page -- http://www.php.net/manual/en/function.curl-setopt.php
Edit -- https://master.php.net/note/edit/107739
Del: integrated -- https://master.php.net/note/delete/107739/integrated
Del: useless -- https://master.php.net/note/delete/107739/useless
Del: bad code -- https://master.php.net/note/delete/107739/bad+code
Del: spam -- https://master.php.net/note/delete/107739/spam
Del: non-english -- https://master.php.net/note/delete/107739/non-english
Del: in docs -- https://master.php.net/note/delete/107739/in+docs
Del: other reasons-- https://master.php.net/note/delete/107739
Reject -- https://master.php.net/note/reject/107739
Search -- https://master.php.net/manage/user-notes.php