title: file_get_contents receive cookies
body: <p>Is it possible to receive the cookies set by the remote server when doing a <code>file_get_contents</code> request? </p>
  
  <p>I need php to do a http request, store the cookies, and then make a second http request using the stored cookies. </p>