<?xml version="1.0" standalone="yes"?>
<?xml-stylesheet type="text/xsl" href="css/rss.xslt"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title> - ASP</title><link>http://www.net-note.cn/</link><description> - </description><generator>RainbowSoft Studio Z-Blog 1.8 Walle Build 91204</generator><language>zh-CN</language><copyright>Leather Goods-一次性换药盒-Women Gloves-上海亿闻-SANTA HAT-GRAY-移民加拿大-加拿大冰酒var gaJsHost = ((&amp;quot;https:&amp;quot; == document.location.protocol) ? &amp;quot;https://ssl.&amp;quot; : &amp;quot;http://www.&amp;quot;);document.write(unescape(&amp;quot;%3Cscript src='&amp;quot; + gaJsHost + &amp;quot;google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E&amp;quot;));try {var pageTracker = _gat._getTracker(&amp;quot;UA-11947519-6&amp;quot;);pageTracker._trackPageview();} catch(err) {}</copyright><pubDate>Sun, 05 Sep 2010 12:26:02 +0800</pubDate><item><title>asp获取本页的URL地址</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/get-url-of-page-self-asp.html</link><pubDate>Tue, 09 Mar 2010 20:42:15 +0800</pubDate><guid>http://www.net-note.cn/post/get-url-of-page-self-asp.html</guid><description><![CDATA[<p>&lt;%<br />Function GetLocationURL() <br />Dim Url <br />Dim ServerPort,ServerName,ScriptName,QueryString <br />ServerName = Request.ServerVariables(&quot;SERVER_NAME&quot;) <br />ServerPort = Request.ServerVariables(&quot;SERVER_PORT&quot;) <br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/get-url-of-page-self-asp.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=40</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=40&amp;key=8f6e6498</trackback:ping></item><item><title>asp获取网页的html代码</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/asp-get-html-code-and-content.html</link><pubDate>Tue, 09 Mar 2010 20:35:19 +0800</pubDate><guid>http://www.net-note.cn/post/asp-get-html-code-and-content.html</guid><description><![CDATA[<p>有时候,需要获取网页的html代码,如新闻采集。采集之前，首页要得到被采集的页面的html代码，然后根据代码，分析出你想要得到的内容，最后将得到的内容保存到自己的数据库中<br />function.asp<br />&lt;%<br />Function getHTTPPage(url) <br />On Error Resume Next<br />dim http <br />set http=Server.createobject(&quot;Microsoft.XMLHTTP&quot;) <br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/asp-get-html-code-and-content.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=39</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=39&amp;key=316416b4</trackback:ping></item><item><title>asp使用 ajax post 提交汉字出现乱码问题解决的解决方案</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/asp-ajax-post-code.html</link><pubDate>Tue, 09 Mar 2010 20:15:46 +0800</pubDate><guid>http://www.net-note.cn/post/asp-ajax-post-code.html</guid><description><![CDATA[<p>产生原因<br />主要有2个原因<br />1 xtmlhttp 返回的数据默认的字符编码是utf-8，如果前台页面是gb2312或者其它编码数据就会产生乱码<br />2 post方法提交数据默认的字符编码是utf-8，如果后台是gb2312或其他编码数据就会产生乱码</p><p>解决方法<br />进一步整理中<br />推荐方法,前台后台都用utf-8编码,这样可以省不少麻烦,从根本上解决了乱码问题.优点是效率高,而且符合目前的形式,utf-8编码本身就是一种比较优秀的编码,没有语言限制.缺点只能调用自己的后台编码或者其他的utf-8的编码.<br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/asp-ajax-post-code.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=38</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=38&amp;key=4be6673f</trackback:ping></item><item><title>request对象示例-以及读取集合的顺序</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/request-array-order-asp.html</link><pubDate>Tue, 09 Mar 2010 20:10:39 +0800</pubDate><guid>http://www.net-note.cn/post/request-array-order-asp.html</guid><description><![CDATA[<p>Request对象可以读取任何基于HTTP请求传递的信息，包括从HTML表格用 post 或 get 方法传递的参数，用Cookie，用户认证传递的参数及文件上载.<br />语法格式：Request.集合（变量）</p><p>1 Form集合<br />语法格式:Request.Form(element名)[(index)|.Count]<br />该集合的语句功能是可以用Form集合手机来自客户端以表单形式发往服务器的信息。其中个参数的意义如下:<br />(1)element:是表单中某元素的名称，即表单元素中nam右边的取值<br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/request-array-order-asp.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=37</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=37&amp;key=bd7bd595</trackback:ping></item><item><title>ASP实现把ACCESS数据库中的数据导入TXT文件</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/access-data-to-text-asp.html</link><pubDate>Tue, 09 Mar 2010 20:06:04 +0800</pubDate><guid>http://www.net-note.cn/post/access-data-to-text-asp.html</guid><description><![CDATA[<p>1，建立一个数据库test.mdb，字段分为testID，testPhoto 插入数据</p><p>2，写一个xiaohei.log</p><p>3，写一个test.asp</p><p>代码：</p><p>&lt;% <br />'连接ACCESS数据库 <br />set conn=server.createobject(&quot;adodb.connection&quot;) <br />provider=&quot;provider=microsoft.jet.oledb.4.0;&quot; <br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/access-data-to-text-asp.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=36</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=36&amp;key=5f2c4727</trackback:ping></item><item><title>ASP采集程序 原理分析</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/caiji-code-asp.html</link><pubDate>Tue, 09 Mar 2010 20:01:52 +0800</pubDate><guid>http://www.net-note.cn/post/caiji-code-asp.html</guid><description><![CDATA[<p>采集程序实际上是通过了XML中的XMLHTTP组件调用其它网站上的网页。比如新闻采集程序，很多都是调用了sina的新闻网页，并且对其中的html进行了一些替换，同时对广告也进行了过滤。用采集程序的优点有：无须维护网站，因为采集程序中的数据来自其他网站，它将随着该网站的更新而更新；可以节省服务器资源，一般采集程序就几个文件，所有网页内容都是来自其他网站。缺点有：不稳定，如果目标网站出错，程序也会出错，而且，如果目标网站进行升级维护，那么采集程序也要进行相应修改；速度，因为是远程调用，速度和在本地服务器上读取数据比起来，肯定要慢一些。</p>...]]></description><category>ASP</category><comments>http://www.net-note.cn/post/caiji-code-asp.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=35</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=35&amp;key=dc58419c</trackback:ping></item><item><title>asp实现随机获取数据库中的记录</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/to-get-rand-record-asp.html</link><pubDate>Tue, 09 Mar 2010 19:55:12 +0800</pubDate><guid>http://www.net-note.cn/post/to-get-rand-record-asp.html</guid><description><![CDATA[<p>利用asp随机获取数据库中的记录且不出现重复的记录<br />&lt;!--#include file=&quot;adoconn.asp&quot;--&gt;<br />&lt;%<br />'-------------------------检索数据-----------------------<br />strSQL = &quot;SELECT * FROM [table]&quot; <br />'Sql语句，检索数据库<br />'Set objRS = Server.CreateObject(&quot;ADODB.Recordset&quot;) <br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/to-get-rand-record-asp.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=34</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=34&amp;key=c868a279</trackback:ping></item><item><title>asp获取客户端IP地址</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/asp-get-real-ip.html</link><pubDate>Tue, 09 Mar 2010 19:52:21 +0800</pubDate><guid>http://www.net-note.cn/post/asp-get-real-ip.html</guid><description><![CDATA[<p>客户端IP有两种情况，一个是代理服务器上网的，另一种是直接上网的，所以要获取客户端IP也需要分开来获取。<br />&lt;%<br />Function getIP() <br />Dim strIPAddr <br />If Request.ServerVariables(&quot;HTTP_X_FORWARDED_FOR&quot;) = &quot;&quot; OR InStr(Request.ServerVariables(&quot;HTTP_X_FORWARDED_FOR&quot;), &quot;unknown&quot;) &gt;0 Then <br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/asp-get-real-ip.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=33</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=33&amp;key=040bcbe8</trackback:ping></item><item><title>用ASP 开发的日历</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/asp-calendar-code.html</link><pubDate>Tue, 09 Mar 2010 19:20:07 +0800</pubDate><guid>http://www.net-note.cn/post/asp-calendar-code.html</guid><description><![CDATA[<p>&lt;html&gt;<br />&lt;head&gt;<br />&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=gb2312&quot;&gt;<br />&lt;title&gt;Canlender--JavaScript&lt;/title&gt;<br />&lt;style&gt;<br />td {<br />font-family: Arial, Helvetica, sans-serif;<br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/asp-calendar-code.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=32</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=32&amp;key=5143f905</trackback:ping></item><item><title>用ASP实现网页打印</title><author>a@b.com (gray6666)</author><link>http://www.net-note.cn/post/asp-html-web-printing.html</link><pubDate>Tue, 09 Mar 2010 19:17:31 +0800</pubDate><guid>http://www.net-note.cn/post/asp-html-web-printing.html</guid><description><![CDATA[<p>主要介绍了如何使用ASP控制Web的各种打印效果，它能够控制纵打、横打和页面边距等。</p><p>　　1、控制&quot;纵打&quot;、 &quot;横打&quot;和&quot;页面的边距&quot;。</p><p>　　（1）</p><p>&lt;script defer&gt; <br />　　function SetPrintSettings() { <br />　　// -- advanced features <br />　　factory.printing.SetMarginMeasure(2) // measure margins in inches <br />...</p>]]></description><category>ASP</category><comments>http://www.net-note.cn/post/asp-html-web-printing.html#comment</comments><wfw:comment>http://www.net-note.cn/</wfw:comment><wfw:commentRss>http://www.net-note.cn/feed.asp?cmt=31</wfw:commentRss><trackback:ping>http://www.net-note.cn/cmd.asp?act=tb&amp;id=31&amp;key=9bb24f58</trackback:ping></item></channel></rss>
