title: PHP How to perform an http request passing cookies and save result to a string
body: <p>I would like to perform an http request and pass all cookies received by the current script (in particular session identifying cookies) to this request. Then I would like to save the result in a string for further manipulation. What is the best way to do this in PHP ?</p>