params array CURLOPT_RETURNTRANSF ER true CURLOPT_COOKIE sid sid CURLO

1
2
$params = array(CURLOPT_RETURNTRANSFER => true, CURLOPT_COOKIE => 'sid='.$sid, CURLOPT_USERAGENT => $_SERVER['HTTP_USER_AGENT']);
curl_setopt_array($ch, $params);