El 19/05/2013 7:00, [email protected] escribió:
>> > What I had in mind was to check how cookies where written to files with 
>> > CURLOPT_COOKIEJAR but instead of writing the cookies to files, returning 
>> > them so they could be stored in variables, I would like to do something 
>> > like 
>> > this in PHP:
> Like CURLINFO_COOKIELIST?
>
> http://curl.haxx.se/libcurl/c/curl_easy_getinfo.html#CURLINFOCOOKIELIST
I have never used CURLINFO_COOKELIST but, for example, if example.com
sets cookie "visitor=new" and CURLINFO_COOKIELIST will return
"visitor=new", yes, you are right.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html

Reply via email to