title: CURL Alternative
body: <p>Is there a CURL alternative ,so that I am able to set cookies returned in the response from server.And I should be also able to send that cookies further to the url..I know this is possible with CURL.But I need an alternative way .Can I do it  using </p>
  
  <pre><code>stream_context_create()
  </code></pre>
  
  <p>and<code>
  flie_get_contents()</code>
  ..In my case I need to submit some data using HTTP POST method.If the data is correct the server will set a cookie and I need to use this cookie for further accesss to the server.How can this be done without CURL??</p>