Can anyone point me in the right direction to a way i can curl a webpage grab the cookie it sets and then re use that cookie in another curl session?
Can anyone point me in the right direction to a way i can curl a webpage grab the cookie it sets and then re use that cookie in another curl session?
You can check out Curl options such as CURLOPT_HEADER or CURLOPT_HEADERFUNCTION, but honestly it’s easier to just use a library such as [URL=“https://github.com/fabpot/goutte”]Goutte.