Forum Moderators: coopster

Message Too Old, No Replies

Using curl to post data

         

kate_d

8:06 am on Apr 26, 2005 (gmt 0)

10+ Year Member



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)

WebmasterWorld Administrator 10+ Year Member



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

[curl.haxx.se...]

search the page for cookie

<added>sorry, Welcome to WebmasterWorld kate_d