<?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>Show-Studio.net &#187; coldfusion</title>
	<atom:link href="http://show-studio.net/tag/coldfusion/feed/" rel="self" type="application/rss+xml" />
	<link>http://show-studio.net</link>
	<description>since 2004</description>
	<lastBuildDate>Wed, 25 Aug 2010 01:06:10 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>IIS6 中ASP不能上传大文件解决方法</title>
		<link>http://show-studio.net/2005/08/12/iis6-%e4%b8%adasp%e4%b8%8d%e8%83%bd%e4%b8%8a%e4%bc%a0%e5%a4%a7%e6%96%87%e4%bb%b6%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/</link>
		<comments>http://show-studio.net/2005/08/12/iis6-%e4%b8%adasp%e4%b8%8d%e8%83%bd%e4%b8%8a%e4%bc%a0%e5%a4%a7%e6%96%87%e4%bb%b6%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/#comments</comments>
		<pubDate>Fri, 12 Aug 2005 14:55:02 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[IIS]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=354</guid>
		<description><![CDATA[今天早上发现在WebEasyMail Web中上传附件不管我改成99,999KB它还是只能上传200KB，经过查找后发现问题出在ASPMaxRequestEntityAllowed中，哎&#8230; IIS6 中ASP不能上传大文件解决方法: 首先，停止以下服务： IIS Admin Service World Wide Web Publishing Service HTTP SSL Simple Mail Transfer Protocol (SMTP) FTP Publishing Service 然后， 编辑：C:\Windows\system32\inesrv\metabase.xml 找到：ASPMaxRequestEntityAllowed 默认为 204800 （200k），改成需要的！ 最后，启动上面被停止的服务，就算完成了！ *注：可能会碰到metabase.xml 文件不能被保存，原因是你的服务未停干净。]]></description>
			<content:encoded><![CDATA[<p>今天早上发现在WebEasyMail Web中上传附件不管我改成99,999KB它还是只能上传200KB，经过查找后发现问题出在<span style="color: #3366ff;">ASPMaxRequestEntityAllowed</span>中，哎&#8230;</p>
<p>IIS6 中ASP不能上传大文件解决方法:<br />
首先，停止以下服务：<br />
<span style="color: #3366ff;"> IIS Admin Service<br />
World Wide Web Publishing Service<br />
HTTP SSL<br />
Simple Mail Transfer Protocol (SMTP)<br />
FTP Publishing Service</span></p>
<p>然后， 编辑：C:\Windows\system32\inesrv\metabase.xml<br />
找到：<span style="color: #3366ff;">ASPMaxRequestEntityAllowed</span> 默认为 204800 （200k），改成需要的！<br />
最后，启动上面被停止的服务，就算完成了！<br />
*注：可能会碰到metabase.xml 文件不能被保存，原因是你的服务未停干净。</p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/08/12/iis6-%e4%b8%adasp%e4%b8%8d%e8%83%bd%e4%b8%8a%e4%bc%a0%e5%a4%a7%e6%96%87%e4%bb%b6%e8%a7%a3%e5%86%b3%e6%96%b9%e6%b3%95/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>前几天看到Frank写了一个ToolTips类，不错！</title>
		<link>http://show-studio.net/2005/07/19/%e5%89%8d%e5%87%a0%e5%a4%a9%e7%9c%8b%e5%88%b0frank%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aatooltips%e7%b1%bb%ef%bc%8c%e4%b8%8d%e9%94%99%ef%bc%81/</link>
		<comments>http://show-studio.net/2005/07/19/%e5%89%8d%e5%87%a0%e5%a4%a9%e7%9c%8b%e5%88%b0frank%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aatooltips%e7%b1%bb%ef%bc%8c%e4%b8%8d%e9%94%99%ef%bc%81/#comments</comments>
		<pubDate>Tue, 19 Jul 2005 13:11:24 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=292</guid>
		<description><![CDATA[用法: 以下是代码片段： _tooltips = new cls_tooltips(MC_bu, true, 0xFF00FF, 0x0000FF, 5, 50, "&#60;u&#62;Hello World!&#60;/u&#62;&#60;br/&#62;&#60;font color=’#CCCCCC’ face=’arial’&#62;&#60;b&#62;Nice Day!&#60;/b&#62;&#60;/font&#62;&#60;br/&#62;Be Happy!Never Give Up!", 200, 60, 5, false); _tooltips2 = new cls_tooltips(MC_bu2, false, 0xFF00FF, 0x0000FF, 5, 20, "Hello World2!", 200, 40, 0, true); // new cls_tooltips(按钮,是否圆角, 背景颜色, 边框色, 边框粗细,边框透明度 文本, 宽度, 高度, 圆角度,提示位置上下); 原地址：http://www.2solo.net/blog/showlog.asp?cat_id=28&#38;log_id=542]]></description>
			<content:encoded><![CDATA[<p>用法:<br />
以下是代码片段：<br />
<code>_tooltips = new cls_tooltips(MC_bu, true, 0xFF00FF, 0x0000FF, 5, 50,   "&lt;u&gt;Hello World!&lt;/u&gt;&lt;br/&gt;&lt;font color=’#CCCCCC’   face=’arial’&gt;&lt;b&gt;Nice Day!&lt;/b&gt;&lt;/font&gt;&lt;br/&gt;Be   Happy!Never Give Up!", 200, 60, 5, false);<br />
_tooltips2 = new cls_tooltips(MC_bu2, false, 0xFF00FF, 0x0000FF, 5, 20,   "Hello World2!", 200, 40, 0, true);<br />
// new cls_tooltips(按钮,是否圆角, 背景颜色, 边框色, 边框粗细,边框透明度   文本, 宽度, 高度, 圆角度,提示位置上下);</code></p>
<p>原地址：<a href="http://www.2solo.net/blog/showlog.asp?cat_id=28&amp;log_id=542">http://www.2solo.net/blog/showlog.asp?cat_id=28&amp;log_id=542</a></p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/07/19/%e5%89%8d%e5%87%a0%e5%a4%a9%e7%9c%8b%e5%88%b0frank%e5%86%99%e4%ba%86%e4%b8%80%e4%b8%aatooltips%e7%b1%bb%ef%bc%8c%e4%b8%8d%e9%94%99%ef%bc%81/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CFJS的HighLight</title>
		<link>http://show-studio.net/2005/05/24/cfjs%e7%9a%84highlight/</link>
		<comments>http://show-studio.net/2005/05/24/cfjs%e7%9a%84highlight/#comments</comments>
		<pubDate>Tue, 24 May 2005 14:33:26 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=322</guid>
		<description><![CDATA[功能不是很全的，没有注释的高亮，可能还会有一些bug希望大家多给意见。 演示：http://www.show-studio.net/udf/cfjs.cfm 下载：Download]]></description>
			<content:encoded><![CDATA[<p>功能不是很全的，没有注释的高亮，可能还会有一些bug希望大家多给意见。</p>
<p>演示：<a href="http://www.show-studio.net/udf/cfjs.cfm">http://www.show-studio.net/udf/cfjs.cfm</a><br />
下载：<a href='http://show-studio.net/wp-content/uploads/2009/09/20050524172516.rar'>Download</a></p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/05/24/cfjs%e7%9a%84highlight/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ASPServices的一个实例</title>
		<link>http://show-studio.net/2005/04/08/aspservices%e7%9a%84%e4%b8%80%e4%b8%aa%e5%ae%9e%e4%be%8b/</link>
		<comments>http://show-studio.net/2005/04/08/aspservices%e7%9a%84%e4%b8%80%e4%b8%aa%e5%ae%9e%e4%be%8b/#comments</comments>
		<pubDate>Fri, 08 Apr 2005 03:03:06 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[remoting]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=507</guid>
		<description><![CDATA[ASPServices程序有两个部分一个FLASH的MXP包，一个是function.asp(ASP服务器的文件) ASPServices配置： 首先要在FLASH上装中ASPServices双击ASPServices.mxp。 然后将function.asp放在你的虚拟主机中。 下的一个实例包中有详细的代码，如果有不明白的地方可以问我。 实例包下载]]></description>
			<content:encoded><![CDATA[<p>ASPServices程序有两个部分一个FLASH的MXP包，一个是function.asp(ASP服务器的文件)</p>
<p>ASPServices配置：<br />
首先要在FLASH上装中ASPServices双击ASPServices.mxp。<br />
然后将function.asp放在你的虚拟主机中。<br />
下的一个实例包中有详细的代码，如果有不明白的地方可以问我。</p>
<p><a href="http://show-studio.net/wp-content/uploads/2009/09/ASPServices.rar">实例包下载</a></p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/04/08/aspservices%e7%9a%84%e4%b8%80%e4%b8%aa%e5%ae%9e%e4%be%8b/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用一句话就可以生成一个表格</title>
		<link>http://show-studio.net/2005/04/04/%e7%94%a8%e4%b8%80%e5%8f%a5%e8%af%9d%e5%b0%b1%e5%8f%af%e4%bb%a5%e7%94%9f%e6%88%90%e4%b8%80%e4%b8%aa%e8%a1%a8%e6%a0%bc/</link>
		<comments>http://show-studio.net/2005/04/04/%e7%94%a8%e4%b8%80%e5%8f%a5%e8%af%9d%e5%b0%b1%e5%8f%af%e4%bb%a5%e7%94%9f%e6%88%90%e4%b8%80%e4%b8%aa%e8%a1%a8%e6%a0%bc/#comments</comments>
		<pubDate>Mon, 04 Apr 2005 12:38:37 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=266</guid>
		<description><![CDATA[用一句话就可以生成一个表格，听起来是不是很心动，其实也就是一个自己开发的UDF用一个SQL语句来动态的生成表格，如果你的网站，LIST用的很多的话，不防用这个可以省很多的代码，现在只用CFM版。 大家可以下载用用试试：） Coldfusion : 20050404194934]]></description>
			<content:encoded><![CDATA[<p>用一句话就可以生成一个表格，听起来是不是很心动，其实也就是一个自己开发的UDF用一个SQL语句来动态的生成表格，如果你的网站，LIST用的很多的话，不防用这个可以省很多的代码，现在只用CFM版。</p>
<p><img src="http://show-studio.net/wp-content/uploads/2009/09/20050404195422.gif" alt="20050404195422" title="20050404195422" width="510" height="95" class="alignnone size-full wp-image-267" /></p>
<p>大家可以下载用用试试：）</p>
<p>Coldfusion : <a href='http://show-studio.net/wp-content/uploads/2009/09/20050404194934.rar'>20050404194934</a></p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/04/04/%e7%94%a8%e4%b8%80%e5%8f%a5%e8%af%9d%e5%b0%b1%e5%8f%af%e4%bb%a5%e7%94%9f%e6%88%90%e4%b8%80%e4%b8%aa%e8%a1%a8%e6%a0%bc/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>用CFScript做mysql数据库的连接</title>
		<link>http://show-studio.net/2005/04/01/%e7%94%a8cfscript%e5%81%9amysql%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84%e8%bf%9e%e6%8e%a5/</link>
		<comments>http://show-studio.net/2005/04/01/%e7%94%a8cfscript%e5%81%9amysql%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84%e8%bf%9e%e6%8e%a5/#comments</comments>
		<pubDate>Fri, 01 Apr 2005 14:18:58 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=306</guid>
		<description><![CDATA[//连MYSQL数据库 initDriver=createObject("java","java.lang.Class").forName("sun.jdbc.odbc.JdbcOdbcDriver" ).newInstance(); strURL = "jdbc:mysql://localhost:3306/test?useUnicode=true&#38;characterEncoding=GB2312"; conn=createObject("java","java.sql.DriverManager").getConnection(strURL ,"zhongwen360",""); stmt = conn.createStatement(); query = stmt.executeQuery("SELECT * FROM dictionary WHERE d_chinese like '#show#%' ORDER BY d_chinese"); while(query.next()){ writeoutput(query.getString("dictionary_id")); } query.close(); 做个备案，大家不防也试，速度是快很多。]]></description>
			<content:encoded><![CDATA[<p><code>//连MYSQL数据库<br />
initDriver=createObject("java","java.lang.Class").forName("sun.jdbc.odbc.JdbcOdbcDriver" ).newInstance();<br />
strURL = "jdbc:mysql://localhost:3306/test?useUnicode=true&amp;characterEncoding=GB2312";<br />
conn=createObject("java","java.sql.DriverManager").getConnection(strURL   ,"zhongwen360","");<br />
stmt = conn.createStatement();<br />
query = stmt.executeQuery("SELECT   * FROM dictionary WHERE d_chinese like '#show#%' ORDER BY   d_chinese");<br />
while(query.next()){<br />
writeoutput(query.getString("dictionary_id"));<br />
}<br />
query.close();</code></p>
<p>做个备案，大家不防也试，速度是快很多。</p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/04/01/%e7%94%a8cfscript%e5%81%9amysql%e6%95%b0%e6%8d%ae%e5%ba%93%e7%9a%84%e8%bf%9e%e6%8e%a5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Frank的学习笔记</title>
		<link>http://show-studio.net/2005/03/13/frank%e7%9a%84%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0/</link>
		<comments>http://show-studio.net/2005/03/13/frank%e7%9a%84%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0/#comments</comments>
		<pubDate>Sun, 13 Mar 2005 12:44:09 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=276</guid>
		<description><![CDATA[RE系列函数学习笔记 在Coldfusion中可以使用 REFind REFindNoCase REReplace REReplaceNoCase 四个函数来用配合使用正则表达式(Regular Expression). 与Find和Replace不同,REFind和REReplace支持正则表达式的匹配模式。 原文：http://www.2solo.net/blog/showlog.asp?cat_id=31&#38;log_id=510 简单文件管理module Frank制作了一个比较简单的文件管理功能的cfmodule组块.通过来调用，拥有上传、删除和查看文件夹功能。 主要是想演示一下cfmodule的用法。 可以通过command来决定行动,enc决定文件,destination决定了文件夹.在app_files.cfm中分别对应Attributes.command,Attributes.enc,Attributes.destination。 原文：http://www.2solo.net/blog/showlog.asp?log_id=509&#38;cat_id=31]]></description>
			<content:encoded><![CDATA[<p>RE系列函数学习笔记<br />
在Coldfusion中可以使用<br />
<code>REFind<br />
REFindNoCase<br />
REReplace<br />
REReplaceNoCase</code></p>
<p>四个函数来用配合使用正则表达式(Regular Expression).<br />
与Find和Replace不同,REFind和REReplace支持正则表达式的匹配模式。<br />
原文：<a href="http://www.2solo.net/blog/showlog.asp?cat_id=31&amp;log_id=510">http://www.2solo.net/blog/showlog.asp?cat_id=31&amp;log_id=510</a></p>
<p>简单文件管理module<br />
Frank制作了一个比较简单的文件管理功能的<code>cfmodule</code>组块.通过来调用，拥有上传、删除和查看文件夹功能。<br />
主要是想演示一下<code>cfmodule</code>的用法。<br />
可以通过command来决定行动,enc决定文件,destination决定了文件夹.在app_files.cfm中分别对应Attributes.command,Attributes.enc,Attributes.destination。<br />
原文：<a href="http://www.2solo.net/blog/showlog.asp?log_id=509&amp;cat_id=31">http://www.2solo.net/blog/showlog.asp?log_id=509&amp;cat_id=31</a></p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/03/13/frank%e7%9a%84%e5%ad%a6%e4%b9%a0%e7%ac%94%e8%ae%b0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Coldfusion MX 7上海发布会</title>
		<link>http://show-studio.net/2005/03/08/coldfusion-mx-7%e4%b8%8a%e6%b5%b7%e5%8f%91%e5%b8%83%e4%bc%9a/</link>
		<comments>http://show-studio.net/2005/03/08/coldfusion-mx-7%e4%b8%8a%e6%b5%b7%e5%8f%91%e5%b8%83%e4%bc%9a/#comments</comments>
		<pubDate>Tue, 08 Mar 2005 11:34:13 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=196</guid>
		<description><![CDATA[今天去了Coldfusion MX 7上海发布会，不过好象在Dreamweaver中的代码标签还是没有更新，所以可以我们现在只能自己打代码了。 主要多了以下个功能： 打印功能 Coldfusion7可以生成PDF和FlashPaper2 的文件。 Rich form 使用全新的丰富flash和XForm功能。 Mobile Coldfusion7支持SMS和IM.令人惊奇的是在Coldfusion7的admin界面中有模仿wap服务器的功能。 CF Report Builder 使用CF Report Builder工具，可以方便的设计和生成高质量、重复组的结构化业务报表。 等等&#8230;&#8230; 详情请看 [2S-Blog]]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-197" title="20050308235241" src="http://show-studio.net/wp-content/uploads/2009/09/20050308235241.gif" alt="20050308235241" width="159" height="120" /></p>
<p>今天去了Coldfusion MX 7上海发布会，不过好象在Dreamweaver中的代码标签还是没有更新，所以可以我们现在只能自己打代码了。<br />
主要多了以下个功能：<br />
<strong>打印功能</strong><br />
Coldfusion7可以生成PDF和FlashPaper2   的文件。<br />
<strong>Rich form</strong><br />
使用全新的丰富flash和XForm功能。<br />
<strong>Mobile</strong><br />
Coldfusion7支持SMS和IM.令人惊奇的是在Coldfusion7的admin界面中有模仿wap服务器的功能。<br />
<strong>CF Report Builder</strong><br />
使用CF Report Builder工具，可以方便的设计和生成高质量、重复组的结构化业务报表。<br />
等等&#8230;&#8230;<br />
详情请看 <a href="http://www.2solo.net/blog/showlog.asp?log_id=476&#038;cat_id=31">[2S-Blog]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/03/08/coldfusion-mx-7%e4%b8%8a%e6%b5%b7%e5%8f%91%e5%b8%83%e4%bc%9a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>在线人数统计</title>
		<link>http://show-studio.net/2005/02/24/%e5%9c%a8%e7%ba%bf%e4%ba%ba%e6%95%b0%e7%bb%9f%e8%ae%a1/</link>
		<comments>http://show-studio.net/2005/02/24/%e5%9c%a8%e7%ba%bf%e4%ba%ba%e6%95%b0%e7%bb%9f%e8%ae%a1/#comments</comments>
		<pubDate>Thu, 24 Feb 2005 12:02:40 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=232</guid>
		<description><![CDATA[&#60;cfif NOT IsDefined("Application.online")&#62; &#60;cfset Application.online=ArrayNew(1)&#62; &#60;/cfif&#62; &#60;cfscript&#62; trace = false;//调试信息 outtime = 20;//保存时间（分种） online_guests = 0;//过路人数 online_members = 0;//注册人数 online_total= 0;//总人数 //********当前浏览者信息********// struct = StructNew(); struct.CFID = Cookie.CFID; struct.CFTOKEN = Cookie.CFTOKEN; struct.TIME = now(); struct.IP = #CGI.REMOTE_HOST#; if (IsDefined("session.users_id")){ struct.USER_ID = session.users_id; struct.LEVEL = 1; }else{ struct.USER_ID = 0; struct.LEVEL = 0; } //****************************// ISIN [...]]]></description>
			<content:encoded><![CDATA[<p><code>&lt;cfif NOT   IsDefined("Application.online")&gt;<br />
&lt;cfset Application.online=ArrayNew(1)&gt;<br />
&lt;/cfif&gt;<br />
&lt;cfscript&gt;<br />
trace = false;//调试信息<br />
outtime = 20;//保存时间（分种）<br />
online_guests = 0;//过路人数<br />
online_members = 0;//注册人数<br />
online_total= 0;//总人数<br />
//********当前浏览者信息********//<br />
struct = StructNew();<br />
struct.CFID = Cookie.CFID;<br />
struct.CFTOKEN   = Cookie.CFTOKEN;<br />
struct.TIME = now();<br />
struct.IP = #CGI.REMOTE_HOST#;<br />
if (IsDefined("session.users_id")){<br />
struct.USER_ID = session.users_id;<br />
struct.LEVEL = 1;<br />
}else{<br />
struct.USER_ID = 0;<br />
struct.LEVEL = 0;<br />
}<br />
//****************************//<br />
ISIN = "no";//查找是否存在的标志<br />
//删除超时的<br />
for (i=ArrayLen(Application.online);i   GTE 1;i=i-1){<br />
if (DateDiff("n",Application.online[i].TIME,now()) GTE   outtime){<br />
ArrayDeleteAt(Application.online,i);<br />
}<br />
}<br />
//更新时间和计算人数<br />
for   (i=1;i LTE ArrayLen(Application.online);i=i+1){<br />
if (Application.online[i].CFID IS struct.CFID AND ISIN IS   "no"){<br />
ISIN = "yes";<br />
Application.online[i] = struct;<br />
}<br />
if (Application.online[i].LEVEL IS 1){<br />
online_members=online_members+1;<br />
}else{<br />
online_guests=online_guests+1;<br />
}<br />
}<br />
//新的浏览者加入<br />
if (ISIN IS "no"){<br />
ArrayAppend(Application.online,struct);<br />
if (struct.LEVEL IS 1){<br />
online_members=online_members+1;<br />
}else{<br />
online_guests=online_guests+1;<br />
}<br />
}<br />
online_total = ArrayLen(Application.online);<br />
&lt;/cfscript&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2005/02/24/%e5%9c%a8%e7%ba%bf%e4%ba%ba%e6%95%b0%e7%bb%9f%e8%ae%a1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>过滤脚本攻击</title>
		<link>http://show-studio.net/2004/11/20/%e8%bf%87%e6%bb%a4%e8%84%9a%e6%9c%ac%e6%94%bb%e5%87%bb/</link>
		<comments>http://show-studio.net/2004/11/20/%e8%bf%87%e6%bb%a4%e8%84%9a%e6%9c%ac%e6%94%bb%e5%87%bb/#comments</comments>
		<pubDate>Sat, 20 Nov 2004 08:02:00 +0000</pubDate>
		<dc:creator>Shikar</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[coldfusion]]></category>
		<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://show-studio.net/?p=13</guid>
		<description><![CDATA[经常会有人通过脚本方式对网站进行攻击，通过下面的方式我们可以避免一些攻击操作。 &#60;cfscript&#62; function clearJS(text){ text = REReplaceNoCase(text,"(javascript)","&#38;##106avascript"); text = REReplaceNoCase(text,"(jscript:)","&#38;##106script:"); text = REReplaceNoCase(text,"(js:)","&#38;##106s:"); text = REReplaceNoCase(text,"(value)","&#38;##118alue"); text = REReplaceNoCase(text,"(about:)","about&#38;##58"); text = REReplaceNoCase(text,"(file:)","file&#38;##58"); text = REReplaceNoCase(text,"(vbscript:)","&#38;##118bscript:"); text = REReplaceNoCase(text,"(vbs:)","&#38;##118bs:"); text = REReplaceNoCase(text,"(document.cookie)","documents&#38;##46cookie"); text = REReplaceNoCase(text,"(on(mouse&#124;exit&#124;error&#124;click&#124;key&#124;load))","&#38;##111n\2"); return(text); } &#60;/cfscript&#62; 只要调用clearjs("text")就可以了]]></description>
			<content:encoded><![CDATA[<p>经常会有人通过脚本方式对网站进行攻击，通过下面的方式我们可以避免一些攻击操作。<br />
<code><br />
&lt;cfscript&gt;</code><br />
<code>function clearJS(text){<br />
text =   REReplaceNoCase(text,"(javascript)","&amp;##106avascript");<br />
text = REReplaceNoCase(text,"(jscript:)","&amp;##106script:");<br />
text =   REReplaceNoCase(text,"(js:)","&amp;##106s:");<br />
text =   REReplaceNoCase(text,"(value)","&amp;##118alue");<br />
text =   REReplaceNoCase(text,"(about:)","about&amp;##58");<br />
text =   REReplaceNoCase(text,"(file:)","file&amp;##58");<br />
text = REReplaceNoCase(text,"(vbscript:)","&amp;##118bscript:");<br />
text =   REReplaceNoCase(text,"(vbs:)","&amp;##118bs:");<br />
text =   REReplaceNoCase(text,"(document.cookie)","documents&amp;##46cookie");<br />
text = REReplaceNoCase(text,"(on(mouse|exit|error|click|key|load))","&amp;##111n\2");<br />
return(text);<br />
}</code><br />
<code>&lt;/cfscript&gt;</code></p>
<p>只要调用<code>clearjs("text")</code>就可以了</p>
]]></content:encoded>
			<wfw:commentRss>http://show-studio.net/2004/11/20/%e8%bf%87%e6%bb%a4%e8%84%9a%e6%9c%ac%e6%94%bb%e5%87%bb/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

