接收xml: $xml = file_get_contents('php://input'); 发送(post): $xml_data = <xml>...</xml>"; $url = http://dest_url; $header[] = "Content-type: text/xml";//定义content-type为xml curl_setopt($ch, CUR...