$info = curl_getinfo($ch);
print_r($info);