CURLOPT_COOKIELIST
Constant • Added in PHP 5.5
CURLOPT_COOKIELIST
is one of the accepted parameters for curl_setopt
parameter #2
.
CURLOPT_COOKIELIST
— A cookie string (i.e. a single line in Netscape/Mozilla format, or a regular
HTTP-style Set-Cookie header) adds that single cookie to the internal cookie store.
"ALL"
erases all cookies held in memory.
"SESS"
erases all session cookies held in memory.
"FLUSH"
writes all known cookies to the file specified by CURLOPT_COOKIEJAR
.
"RELOAD"
loads all cookies from the files specified by CURLOPT_COOKIEFILE
.
Available as of cURL 7.14.1
CURLOPT_COOKIELIST = 10135;
Changes to the CURLOPT_COOKIELIST
Constant
PHP 5.5
- Constant added
CURLOPT_COOKIELIST
Constant Availability
CURLOPT_COOKIELIST
Constant AvailabilityPHP Version | Availability |
---|---|
PHP 8.5Future Release | Yes |
PHP 8.4Upcoming Release | Yes |
PHP 8.3Supported (Latest) | Yes |
PHP 8.2Supported | Yes |
PHP 8.1Security-Fixes Only | Yes |
PHP 8.0Unsupported | Yes |
PHP 7.4Unsupported | Yes |
PHP 7.3Unsupported | Yes |
PHP 7.2Unsupported | Yes |
PHP 7.1Unsupported | Yes |
PHP 7.0Unsupported | Yes |
PHP 5.6Unsupported | Yes |
PHP 5.5Unsupported | Yes |
PHP 5.4Unsupported | No |
PHP 5.3Unsupported | No |