<?php
header("Content type: text/xml; charset=gb2312");
echo "<?xml version='1.0' encoding='gb2312' ?>";
echo "<MAIN text=' 服务管理' expand='false'><SUB text='服务请求' URL='http://2000-4' target='_blank'></SUB><SUB text='定单管理' URL='http://2000-4' target='_blank'></SUB></MAIN>";?>
header("Content type: text/xml; charset=gb2312");
echo "<?xml version='1.0' encoding='gb2312' ?>";
echo "<MAIN text=' 服务管理' expand='false'><SUB text='服务请求' URL='http://2000-4' target='_blank'></SUB><SUB text='定单管理' URL='http://2000-4' target='_blank'></SUB></MAIN>";?>
解决方案 »
- 这样做网站宣传,无耻
- 关于php学习,现在极度的郁闷……
- 表单提交页和结果显示页网址完全一样,如果利用curl post数据后来提取内容?
- 对包含中文的字符串进行转义(进行字符串替换)的问题
- 初学PHP,请问如何安装PHP5.2.4?PHP最好用的编辑器是什么?
- 请问各位高手朋友,phpmysql字符集出现问题!!!
- echo"<script>alert('error!');history.back();</script>";怎么返回后原来填写的数据都没有了??
- 请问用PHP如何打开WORD
- 如何用PHP向下拉框中添加项目?
- [^a-zA-Z0-9\u4e00-\u9fa5\s]我用这个匹配符号,php 中preg_replace总是报错,怎么破?
- 急急急!Solaris操作系统下提示Too many connections错误,PHP.ini中明明没有限制的。为什么???
- 紧急问题。。。。。。。。。。。。。。。。。。
怎样接受到他中的XML数据吗?
我用的是
topic_xml= new XML();
loadXML("showxml.php");function loadXML(theURL)
{
topic_xml.load(theURL);
topic_xml.ignoreWhite=true;
topic_xml.onLoad=parseXML;}
接受不到,是不是loadXML();中装载的XML数据文件的后缀只能是.xml呢?
如果真是如此,那么FLASH MX中如何才能接收到PHP中动态输出的XML数据呢?请您帮忙,先谢谢了
http://were-here.com/forums/showthread.php?threadid=136038