CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLINFO_HEADER_OUT, true); curl_setopt($ch, CURLOPT_HEADER, true); curl_setopt($ch, CURLOPT_URL, $url); $x = curl_exec($ch); print "\nHeaders:\n"; // Get the out headers, explode into an array, and remove...