title: CURL - cookies are stored where?
body: <p>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.</p>
  
  <p>I am following a tutorial where they specify doing this</p>
  
  <pre><code>$cookie = '/tmp/cookies.txt';
  curl_setopt($ch, CURLOPT_COOKIE, $cookie);
  curl_setopt($ch, CURLOPT_COOKIEJAR, $cookie);
  </code></pre>
  
  <p>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.</p>
  
  <p>So do I have to specify another path for $cookie?</p>