I am trying to use curl to post data to a website but the destination url checks for a cookie to be present. I think I need to use the CURLOPT_COOKIEJAR option but I don't know what filepath to use. Can anyone help? Thanks.
jatar_k
4:10 pm on Apr 26, 2005 (gmt 0)
there is also CURLOPT_COOKIE and CURLOPT_COOKIEFILE. cookiefile may be the one, that is the file that should contain the cookie data, the cookiejar is storage after the connection closes and cookie is used to send a cookie. Hard to say, I haven't done any with cookies required, this link might help as well