以文本方式查看主题

-  计算机科学论坛  (http://bbs.xml.org.cn/index.asp)
--  『 XML源码及示例(仅原创和转载) 』  (http://bbs.xml.org.cn/list.asp?boardid=32)
----  高手请进,我想使用PHP读取XML格式的记录????  (http://bbs.xml.org.cn/dispbbs.asp?boardid=32&rootid=&id=17027)


--  作者:lumdream
--  发布时间:4/15/2005 4:32:00 PM

--  高手请进,我想使用PHP读取XML格式的记录????
步骤1:
调用:queryUserInfo?randomSessionKey="查询值";

2、利用PHP解析查询的结果。

查询的格式为XML,格式为
<LoginUserInfo>
<User>gxmccuser1</User>
<Phone>1391075588</Phone>
<Name>移动测试用户1</Name>
<Password></Password>
<UserType>1</UserType>
<Email></Email>
</LoginUserInfo>
   
请大侠们指点,如何实现,谢谢


W 3 C h i n a ( since 2003 ) 旗 下 站 点
苏ICP备05006046号《全国人大常委会关于维护互联网安全的决定》《计算机信息网络国际联网安全保护管理办法》
30.273ms