<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>『 闪 界 』 &#187; 后台与服务器</title>
	<atom:link href="http://www.flashj.cn/wp/category/server_dev/feed" rel="self" type="application/rss+xml" />
	<link>http://www.flashj.cn/wp</link>
	<description>关注FLASH和RIA的一切，关注互联网产品 &#124; 让我们一起学习 一起进步!</description>
	<lastBuildDate>Fri, 04 Nov 2011 08:43:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>使用FluorineFx开发RTMP服务器端需要了解的</title>
		<link>http://www.flashj.cn/wp/fluorinefx-rtmp-need2know.html</link>
		<comments>http://www.flashj.cn/wp/fluorinefx-rtmp-need2know.html#comments</comments>
		<pubDate>Wed, 20 Jan 2010 12:09:10 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[Flash\Ria]]></category>
		<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[fluorineFx]]></category>
		<category><![CDATA[rtmp]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=515</guid>
		<description><![CDATA[本文是专门翻译给搭档看的文档，因为可能对某些同学有帮助，所以也贴出来供有需要的人参考。要是不适合你的情况我可无法负责哦。另外，本文是word（页面大小A3）直接导出的，冗余代码太多，懒得改动了，显示分辨率宽度低于1280的兄台阅读时可能发生样式错位，还请将就一下。 概览： FluorineFx开源库提供了一套用于.net框架的、实现了FLEX/FLASH remoting、Flex Data Services和real-time messaging的功能。 .NET frameworks supported by FluorineFx Microsoft .NET Framework 1.1 (1.1.4322) Microsoft .NET Framework 2.0 (2.0.50727) Microsoft .NET Framework 3.5 (3.5.21022.8) Mono 1.2.4 (.NET 框架支持向后兼容) 功能 Flex, Flash Remoting (RPC) Flex Messaging (partial) Flex Data Services (partial) Supports AMF0, AMF3 and RTMP protocols (我们用这个) Service Browser Template based code [...]<hr /><h2>相关内容:</h2><ul><li><a href="http://www.flashj.cn/wp/adobe-rtmp.html" rel="bookmark" title="Permanent Link: adobe公开RTMP协议">adobe公开RTMP协议</a></li></ul><hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/fluorinefx-rtmp-need2know.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/fluorinefx-rtmp-need2know.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/fluorinefx-rtmp-need2know.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>IIS下404错误页一个注意点</title>
		<link>http://www.flashj.cn/wp/iis-404.html</link>
		<comments>http://www.flashj.cn/wp/iis-404.html#comments</comments>
		<pubDate>Wed, 02 Sep 2009 11:13:45 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[iis]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=360</guid>
		<description><![CDATA[刚刚在测试网站，做到flash加载图片的问题，发现加载一个不存在的文件时flash居然还有进度信息，并且到100%后不显示。 丈二和尚摸不着头脑啊，后来用firebug测了一下发现load的那个图居然返回http头是200status，而且还有文件！ 这才想起来是我设置过IIS里的404错误页导致的。 这里有一个注意点：IIS里设置404错误页有两种方式指定。一种是相对URL，一种是本地文件。 如果设置URL方式，那么IIS会返回404页面，同时发200状态的头，相当于转向。 而使用文件方式，IIS才会返回404状态的头。切记切记……<hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/iis-404.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/iis-404.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/iis-404.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>文件明明存在，却require_once(./*.php)出错</title>
		<link>http://www.flashj.cn/wp/phpmyadmin-warning-require_oncelibrariescommonlibphp-fatal-error-solution.html</link>
		<comments>http://www.flashj.cn/wp/phpmyadmin-warning-require_oncelibrariescommonlibphp-fatal-error-solution.html#comments</comments>
		<pubDate>Wed, 29 Jul 2009 03:00:28 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[500错误]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[wimp]]></category>
		<category><![CDATA[权限]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=326</guid>
		<description><![CDATA[问题描述： 刚装好PMA，在火狐中访问，会看到白板，什么都没输出。使用IE可以看到500错误(服务器内部错误) 打开报错后发现 Warning: require_once(./libraries/common.inc.php) [function.require-once]: failed to open stream: No such file or directory in ***\mousebomb\pma\index.php on line 35 Fatal error: require_once() [function.require]: Failed opening required &#8216;./libraries/common.inc.php&#8217; (include_path=&#8217;.;C:\php5\pear&#8217;) in ***\mousebomb\pma\index.php on line 35 而文件是确实存在且IUSR(IIS匿名访问用户)有权限的。 解决方案： 白板的解决：修改php.ini中的相关错误输出设置，默认的php.ini只需要把display_error=off改成display_error=on就可以 require出错解决：require所有./开头的相对路径文件，都必须把上级目录的IUSR开启可读权限。不仅配置PMA，无论什么网站，在wimp下都要注意./开头的文件要想访问都必须上级目录可读。 相关文献： http://hi.baidu.com/ucsec/blog/item/193bc1b6e3ae98fc31add1ab.html 有的时候安装好PHPmyAdmin后，在IE里访问时会出现下面的这种情况： Warning: require_once(./libraries/common.lib.php): failed to open stream: No such file or directory in ***\index.php on [...]<hr /><h2>相关内容:</h2><ul><li><a href="http://www.flashj.cn/wp/flash-debug%e5%b7%a5%e5%85%b7-arthropod.html" rel="bookmark" title="Permanent Link: Flash Debug工具-Arthropod">Flash Debug工具-Arthropod</a></li><li><a href="http://www.flashj.cn/wp/as3-error-2037.html" rel="bookmark" title="Permanent Link: as3中Error#2037的原因">as3中Error#2037的原因</a></li><li><a href="http://www.flashj.cn/wp/httpservice-xml-security-error-accessing-url.html" rel="bookmark" title="Permanent Link: httpService读XML发生Security error accessing url">httpService读XML发生Security error accessing url</a></li><li><a href="http://www.flashj.cn/wp/pdo-transaction-err-in-php.html" rel="bookmark" title="Permanent Link: PDO事务处理报错?">PDO事务处理报错?</a></li><li><a href="http://www.flashj.cn/wp/as3-typeerror-error-1009.html" rel="bookmark" title="Permanent Link: as3载入影片中TypeError:Error #1009:无法访问空对象引用的属性或方法">as3载入影片中TypeError:Error #1009:无法访问空对象引用的属性或方法</a></li><li><a href="http://www.flashj.cn/wp/flash-amfphp-read-bytearray-err.html" rel="bookmark" title="Permanent Link: Flash从amfphp中读ByteArray出错解决">Flash从amfphp中读ByteArray出错解决</a></li></ul><hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/phpmyadmin-warning-require_oncelibrariescommonlibphp-fatal-error-solution.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/phpmyadmin-warning-require_oncelibrariescommonlibphp-fatal-error-solution.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/phpmyadmin-warning-require_oncelibrariescommonlibphp-fatal-error-solution.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>wimp下wordpress永久链接</title>
		<link>http://www.flashj.cn/wp/wimp-wordpress-permalink.html</link>
		<comments>http://www.flashj.cn/wp/wimp-wordpress-permalink.html#comments</comments>
		<pubDate>Thu, 16 Jul 2009 04:54:44 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[wimp]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[中文TAG]]></category>
		<category><![CDATA[永久链接]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=318</guid>
		<description><![CDATA[前不久又从lamp换成wimp(windows2k3+iis6+mysql5.2+php5.2)，wordpress丧失了两个重要功能： 一个是永久链接（静态化），一个是邮件发送。 现在刚刚完美解决了永久链接的问题，分享方法。 （所谓永久链接（permalink），就是像http://www.flashj.cn/wp/wimp-wordpress-permalink.html这样的格式） 因为windows下不支持.htaccess，所以要想rewrite，需要下载一个ISAPI_Rewrite组件来实现rewrite。我试过，个人感觉效果并不理想。 网上看到一则巧妙的配合404页面实现永久链接的方法，嫁接过来感觉还不错。 原理就是：写一个404.php文件，把请求转到wordpress的index.php。 现在普遍流传的一个版本是： 1.创建一个PHP文件，内容如下： ?View Code PHP1 2 3 4 5 6 &#60;?php $qs = $_SERVER&#91;'QUERY_STRING'&#93;; $_SERVER&#91;'REQUEST_URI'&#93; = substr&#40;$qs, strpos&#40;$qs, ‘:80′&#41;+3&#41;; $_SERVER&#91;'PATH_INFO'&#93; = $_SERVER&#91;'REQUEST_URI'&#93;; include&#40;’index.php’&#41;; ?&#62; 保存为404.php 2.将此404.php文件放到wordpress根目录下 3.设置IIS的404页面到wordpress根目录下的404.php 4.到wordpress管理后台开启permalink 也就是说404.php起到了rewrite的作用。 不过在实施的时候我遇到两个问题： 1.子目录 经常看我博客的朋友应该知道，我的域名flashj.cn，引导页是www.flashj.cn，而我真正的wordpress博客程序有两个，分别在www.flashj.cn/wp和www.flashj.cn/personalblog两个目录中，所以不能像一些独立站点的朋友那样直接设置站点的404文件。 2.中文乱码 因为中文WIN2k3上IIS6试用的是GBK编码，而wordpress是UTF-8编码的，所以在永久链接中存在的中文字符，会使wordpress无法识别。 经过我的“改良”，现在已经成功实现静态化，方法如下： 1.php.ini开启extension=php_mbstring.dll的支持(一般都开的) 2.写这么一个404.php ?View Code PHP1 2 3 4 5 6 &#60;?php $qs = [...]<hr /><h2>相关内容:</h2><ul><li><a href="http://www.flashj.cn/wp/about" rel="bookmark" title="Permanent Link: 关于">关于</a></li></ul><hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/wimp-wordpress-permalink.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/wimp-wordpress-permalink.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/wimp-wordpress-permalink.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>一辈子都在loading org.eclipse.php.core?</title>
		<link>http://www.flashj.cn/wp/loading-orgeclipsephpcore-whole-life.html</link>
		<comments>http://www.flashj.cn/wp/loading-orgeclipsephpcore-whole-life.html#comments</comments>
		<pubDate>Sat, 14 Mar 2009 04:44:45 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[org.eclipse.php.core]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[zend4eclipse]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=229</guid>
		<description><![CDATA[问题描述： 在公司为了写PHP的Project，我使用Zend Studio for Eclipse Professional Edition，它是一个很优秀的软件，不过bug还是很多。今天上午突然发现无法启动了——一直卡在loading org.eclipse.php.core这一步，进度条再也不动了。 覆盖安装了一次依然无效，很是纳闷。难道我一辈子都要在loading org.eclipse.php.core状态了? 解决方案: 移动C:\Documents and Settings\*\Zend\workspaces\DefaultWorkspace\.metadata\.plugins到任意目录 启动Zend Studio for Eclipse，可成功启动，但所有Project都没了 关闭Zend Studio for Eclipse 把C:\Documents and Settings\*\Zend\workspaces\DefaultWorkspace\.metadata\.plugins目录的内容再拷贝回来(所有提示覆盖的项目全部选择不覆盖) 再次启动Zend Studio for Eclipse，哦耶，恢复正常！<hr /><h2>相关内容:</h2><ul><li><a href="http://www.flashj.cn/wp/html5-the-newstar.html" rel="bookmark" title="Permanent Link: html5 富互联网明日之星">html5 富互联网明日之星</a></li></ul><hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/loading-orgeclipsephpcore-whole-life.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/loading-orgeclipsephpcore-whole-life.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/loading-orgeclipsephpcore-whole-life.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PDO事务处理报错?</title>
		<link>http://www.flashj.cn/wp/pdo-transaction-err-in-php.html</link>
		<comments>http://www.flashj.cn/wp/pdo-transaction-err-in-php.html#comments</comments>
		<pubDate>Fri, 16 Jan 2009 11:32:53 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[pdo]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[事务]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=198</guid>
		<description><![CDATA[今天遇到PDO处理事务部分的报错： Fatal error: Uncaught exception &#8216;PDOException&#8217; with message &#8216;There is no active transaction&#8217; in /data/www/web.passport/pay/classes/class.Mydb.php:145 Stack trace: #0 /data/www/web.passport/pay/classes/class.Mydb.php(145): PDO-&#62;rollBack() #1 /data/www/web.passport/pay/yeepayOrder.php(138): Mydb-&#62;transaction(Array) #2 {main} thrown in /data/www/web.passport/pay/classes/class.Mydb.php on line 145 查找错误日志看到： 2009-01-16 09:27:57: 事务处理出错:SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is [...]<hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/pdo-transaction-err-in-php.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/pdo-transaction-err-in-php.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/pdo-transaction-err-in-php.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PHP生成的XML以FLASH获取为乱码终极解决</title>
		<link>http://www.flashj.cn/wp/php-xml-messy-code.html</link>
		<comments>http://www.flashj.cn/wp/php-xml-messy-code.html#comments</comments>
		<pubDate>Thu, 17 Jul 2008 04:37:15 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[Flash\Ria]]></category>
		<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[DomDocument]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[useCodepage]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[乱码]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=70</guid>
		<description><![CDATA[最不怕跟匪夷所思的问题作斗争了，看谁牛鼻。都好久没在编码上遇到过障碍了，今天居然又遇到个小茶包——PHP生成的XML，以FLASH获取却为乱码。经过探索最终解决。记录之，顺便也记录了通用解决方案。如果你也遇到XML&#60;-&#62;FLASH乱码情况，可以速查： 1．确信XML绝对没有问题的情况： 首先，flash读取xml出现乱码涉及到System.useCodepage这个静态属性属性 官方描述：“A Boolean value that tells Flash Player which code page to use to interpret external text files.”默认为false。 倘若我们使用UTF8编码的外部文本文件，都不用管它，使用非UTF8编码文本文件且文本中出现中文字符的话，则需要设置其为true方能让flash读出字符不乱码。 AS3中可先import flash.system.System;然后设置System.useCodePage=true; 2．希望PHP生成UTF-8编码的XML： 要想在XML中存在中文字符，最好使用UTF-8编码。在使用DOM创建XML前声明为$dom_XML = new DomDocument(&#8217;1.0&#8242;,&#8217;UTF-8&#8242;);第二个参数对应XML文档声明部分的encoding值。但是注意：这仅仅是声明的编码，最后使用$dom_XML-&#62;saveXML();实际生成的xml文件却是和PHP脚本源文件编码格式相同，即“你的PHP是什么编码，生成的文件即什么编码。”（见http://www.phpchina.com/bbs/viewthread.php?tid=11450） 3．XML文件声明编码为UTF-8 ，flash中无论useCodepage设为何值读取都还是乱码 经常会遇到这种情况，通常是因为：虽然声明部分是UTF-8，但文件本身却不是UTF-8的（我自己就是ANSI编码的，汗）。 那将会导致一个严重的问题：Firefox浏览器可以正常解释XML，但IE（包括TT等IE内核浏览器）却提示存在错误的字符，Flash也显示乱码！ 这种情况处理方法有二： 把XML声明部分改成非UTF-8的，比如GB2312，然后设置FLASH的useCodepage=true; 把XML用记事本打开，使用“另存为”命令保存为UTF-8的即可 也就是让编码声明与文件本身编码匹配，不能名不符实。 4．PHP源文件不是UTF8编码的，要怎么生成让FLASH支持中文字符的XML呢？也就是我遇到的情况： PHP是ANSI保存的，使用DOM生成的XML自然也是ANSI的，这个编码的XML文件中若含有中文字符，即使声明编码为UTF-8，也无法被正确读取。 在这个前提下，要想FLASH正确读取XML不出现乱码，就必须设置encoding为GB2312。 而PHP的DOM居然不能用GB2312写中文字符（不解，请达人指点迷津）？如果new DomDocument(&#8217;1.0&#8242;,&#8217;GB2312&#8242;);则在保存XML时会出错：“output conversion failed due to conv error, bytes 0xCE 0xD2 0x5D 0x5D”之类的。也就是说我这个ANSI的PHP只能生成声明为UTF-8而实际是ANSI的XML文件，这种文件当然FLASH读出来乱码（参照第3条）。 我的解决法： 在PHP用UTF-8的声明生成了XML后，加了一步操作：打开XML文件改写头部声明把UTF-8替换为GB2312。嘿嘿，FLASH,IE,FF都不出错了！<hr /><h2>相关内容:</h2><ul><li><a href="http://www.flashj.cn/wp/flash-compile-project-with-robotlegs-runtime-err.html" rel="bookmark" title="Permanent Link: Flash编译Robotlegs的项目导致运行时报错">Flash编译Robotlegs的项目导致运行时报错</a></li><li><a href="http://www.flashj.cn/wp/air-file-relation.html" rel="bookmark" title="Permanent Link: AIR管理文件关联">AIR管理文件关联</a></li><li><a href="http://www.flashj.cn/wp/ie7-js.html" rel="bookmark" title="Permanent Link: ie7-js">ie7-js</a></li><li><a href="http://www.flashj.cn/wp/eaze-of-a-tween.html" rel="bookmark" title="Permanent Link: Eaze, 缓动大家庭的新成员">Eaze, 缓动大家庭的新成员</a></li><li><a href="http://www.flashj.cn/wp/as3-ziparchive.html" rel="bookmark" title="Permanent Link: as3-ziparchive">as3-ziparchive</a></li><li><a href="http://www.flashj.cn/wp/flash-cs5-sneaks.html" rel="bookmark" title="Permanent Link: Flash CS5小道消息一蹩">Flash CS5小道消息一蹩</a></li></ul><hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/php-xml-messy-code.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/php-xml-messy-code.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/php-xml-messy-code.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Php中session_start()出错解决方法</title>
		<link>http://www.flashj.cn/wp/php-sessionstart.html</link>
		<comments>http://www.flashj.cn/wp/php-sessionstart.html#comments</comments>
		<pubDate>Thu, 03 Jul 2008 02:06:29 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[MYSQL]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[session]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=65</guid>
		<description><![CDATA[暂时不搞.net,对PHP有兴趣了,开始边学PHP边搞. 入门阶段匪夷所思的事情真多,还好我有心理准备. 昨天夜里遇到个问题,在PHP里session_start() 总是报错: Warning: session_start() [function.session-start]: Cannot send session cache limiter &#8211; headers already sent (output started at D:wwwrootEZineTest.php:1) in D:wwwrootEZineTest.php on line 1 上网搜寻N多,发现关于其解释和解决之道有三种: 在session_start(); 语句之前不能有其他输出 (这个主要状况是报:Cannot send session cache limiter headers already sent) 没有设置session 保存路径，需要修改php.ini中的session.save_path = “C:/phpsession” [后边的路径自己设置，并且要保证存在。php.ini 文件一般应位于系统盘/Windows 目录下面] 修改php.ini中的session.auto_start = 0 为 session.auto_start = 1 我那个郁闷的,第一条,我的session_start();语句是写在第一行; 第二条,也有设置 第三条,这个我不想设置为自动. 我就郁闷了,由于我是在家里的服务器机器上测试的,所以怀疑是配置的问题,把它的PHP.INI和机房的配置对比了一下,发现没有可疑之处. 最后把写的另一个有session的PHP拿来测试了下,居然可用! [...]<hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/php-sessionstart.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/php-sessionstart.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/php-sessionstart.html/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>明明存在的asp却显示404错误-IIS不能显示asp?</title>
		<link>http://www.flashj.cn/wp/asp-404-iis-asp-err.html</link>
		<comments>http://www.flashj.cn/wp/asp-404-iis-asp-err.html#comments</comments>
		<pubDate>Tue, 01 Apr 2008 13:53:31 +0000</pubDate>
		<dc:creator>鼠标炸弹</dc:creator>
				<category><![CDATA[后台与服务器]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[asp]]></category>
		<category><![CDATA[iis]]></category>
		<category><![CDATA[错误]]></category>

		<guid isPermaLink="false">http://www.flashj.cn/wp/?p=31</guid>
		<description><![CDATA[今天遇到这个奇怪的问题,孤陋寡闻了&#8230;. asp无法访问&#8230;显示404错,可是非ASP文件,像logo.jpg之类的就可以打开. 只要是asp文件就都是404错;当时非常奇怪;把无法打开的asp改名为aspx也可以打开&#8230; 不知道你有遇到过这样的情况不? 刚开始我以为是和PHP冲突,后经过搜索调查,发现居然是因为IIS6默认情况下不支持ASP了.可以通过IIS-WEB服务扩展-Active Server Pages-允许 设置.这样就OK了. 我这是第一次用IIS6&#8230;.以后得注意了,asp是被淘汰的技术&#8230;<hr /><small>Copyright &#169; 转载本文请保留链接:<a href="http://www.flashj.cn/wp/asp-404-iis-asp-err.html" title="原文来自FlashJ.cn">http://www.flashj.cn/wp/asp-404-iis-asp-err.html</a>
<br />
本博客文章除非额外注明,均为原创,采用CC许可(<a href="http://creativecommons.org/licenses/by-nc-sa/2.5/cn/">署名-非商业性使用-相同方式共享 2.5</a>)。
<br />
你可以自由复制、发行、展览、表演、放映、广播或通过信息网络传播本作品，创作演绎作品。
但您必须按照作者或者许可人指定的方式对作品进行署名；您不得将本作品用于商业目的；如果您改变、转换本作品或者以本作品为基础进行创作，您只能采用与本协议相同的许可协议发布基于本作品的演绎作品。
<br />
欢迎合法转载，非法转载者将受到民事指控并承担由此产生的一切后果.
(数字指纹: f36aff15ff3e132db5d06f6cdcde2d1c (38.107.179.232) )</small>]]></description>
		<wfw:commentRss>http://www.flashj.cn/wp/asp-404-iis-asp-err.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

