title: How to use cookies on called remote page?
body: <p>Ok I guess this question may be similar to other in the "remote cookies" kind, but I'm not sure that other answers I've read are applied to my case anyway, so here we go.</p>
  
  <p>I have two applications, a client and a server. The server "has" (I know they're actually stored client-side) a cookie and a page which uses it to print out a computed data based on the cookie.</p>
  
  <p>If I access the server page directly, the cookie is taken into account and the data is output correctly.</p>
  
  <p>If I call the same server page from the client via a <code>file_get_contents()</code> the cookie on the server page doesn't get read, and I get an answer computed with an empty cookie.</p>
  
  <p>How to make the server read its own cookies when answering a similar request? Is cURL the only option?</p>