我这样写一直不通过,$xyz的值为空,没有任何报错信息。能否帮我看看是什么问题呢?$url = 'https://www.xxx.com/logout.php';
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);    
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, "Idc=si&");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);$xyz = curl_exec($ch); //执行 (1)
curl_close($ch); 
echo $xyz;if ($xyz == NULL) {
echo "Error:<br/>";
curl_error($ch);
curl_errno($ch);
}