接收XML数据

$xml_message=file_get_contents("php://input");
$postArr=simplexml_load_string($xml_message,"SimpleXMLElement",LIBXML_NOCDATA);
$toUserName=$postArr->ToUserName;

 

posted @ 2020-07-28 16:25  CanyingV  阅读(152)  评论(0)    收藏  举报