CURL - cookies are stored where?

JulzM

New Member
I would like to login to a site, so the first time I request a page, it redirects me to another page setting the cookies.I am following a tutorial where they specify doing this\[code\]$cookie = '/tmp/cookies.txt';curl_setopt($ch, CURLOPT_COOKIE, $cookie);curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);\[/code\]But when i check http live headers, the server passes cookie information to set my cookies.But i don't see it doing anything. When I examine the cookies, those values aren't there.So do I have to specify another path for $cookie?
 
Back
Top