how to get the cookies from a php curl into a variable

后端 未结 8 821
囚心锁ツ
囚心锁ツ 2020-11-22 15:08

So some guy at some other company thought it would be awesome if instead of using soap or xml-rpc or rest or any other reasonable communication protocol he just embedded all

8条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-22 15:50

    libcurl also provides CURLOPT_COOKIELIST which extracts all known cookies. All you need is to make sure the PHP/CURL binding can use it.

提交回复
热议问题