Curl request with headers - separate body a from a header
<p>Ive got a code</p>

<pre><code>    $ch = curl_init($url);
    curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
    curl_setopt($ch, CURLOPT_HEADER, 1);        
    curl_setopt($ch, CURLOPT_BINARYTRANSFER, 1);
    $ret = curl_exec($ch);
    $responseCode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
    curl_close($ch);
</code></pre>

<p>Now i want to extract the body from $ret without headers. Any idea how to do it?</p>
