// Apply the XML to our curl call curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $xmlcontent);
$data = curl_exec($ch); if (curl_errno($ch)) { die('会议信息出错,有可能会议还未开始!'); exit; } else { // Show me the result //var_dump($data); curl_close($ch); }
------解决方案--------------------