php 接收别的地方post过来的xml

a276181298 2011-04-21 05:31:07
RecvSMS
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<RecvSMS soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<caller xsi:type="xsd:string">18938652200</caller>
<time xsi:type="xsd:string">20101126113634</time>
<cont xsi:type="xsd:string">x+u72LXno6zQu9C7o6E=</cont>
<ucNum xsi:type="xsd:string">075585578185</ucNum>
</RecvSMS>
<RecvSMS soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<caller xsi:type="xsd:string">18938652255</caller>
<time xsi:type="xsd:string">20101126113638</time>
<cont xsi:type="xsd:string">x+u72LXno6zQu9C7o6E=</cont>
<ucNum xsi:type="xsd:string">075585578188</ucNum>
</RecvSMS>
</soapenv:Body>
</soapenv:Envelope>
post过来是这种格式的.


麻烦给鄙人个例子.
...全文
88 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
灬上海爽爷 2011-04-21
  • 打赏
  • 举报
回复
让他挂在网上,你直接SIMPLEXML去获取就是了。。为什么要POST过来呢。。
a276181298 2011-04-21
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 snmr_com 的回复:]

需求呢?全文echo么?
[/Quote]
就是别的服务器post过来的xml数据到我我的网页 .我去接收他
ImN1 2011-04-21
  • 打赏
  • 举报
回复
需求呢?全文echo么?

21,886

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧