note 107739 deleted from function.curl-setopt by cmb
| From: | cmb@php.net | Date: | Sun, 17 Nov 2019 08:58:07 +0000 |
| Subject: | note 107739 deleted from function.curl-setopt by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-213101@lists.php.net to get a copy of this message | ||
Note Submitter: dotpointer at gmail dot com
----
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.