﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title><![CDATA[V怪客]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/index.html</link>
<description><![CDATA[V怪客]]></description>
<item>
<title><![CDATA[rs.close時遇到當物件關閉時，不允許操作]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1924.html</link>
<description><![CDATA[<DIV>當物件關閉時，不允許操作</DIV>
<DIV>這是個人的心得及猜測</DIV>
<DIV>rs.close</DIV>
<DIV>set rs = nothing</DIV>
<DIV>是一個好習慣，但是如果rs不存在或已經關閉時，執行這段就會出現錯誤</DIV>
<DIV>尤其常常發生在</DIV>
<DIV>set rs = comm.execute(sql)</DIV>
<DIV>推測是conn.execute的執行結果產生空的recordset</DIV>
<DIV>導致此時要求關閉,就會出錯</DIV>]]></description>
<author>V怪客</author>
<pubDate>2007/6/22 上午 10:34:00</pubDate>
</item>
<item>
<title><![CDATA[全域變數到了副程式突然憑空消失的原因!!]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1911.html</link>
<description><![CDATA[<DIV>嗯，今天又有一個心得，把以下程式碼存成asp程式，丟到server上跑，看看結果!!</DIV>
<DIV>showStr2與showStr的唯一差別就是showStr2在response.write 之後多呼了一個Dim</DIV>
<DIV>我原本以為在Dim之前，str的值還是全域變數的值，結果有重大發現：</DIV>
<DIV><STRONG><SPAN style="FONT-SIZE: 18pt; COLOR: #ff0000">那就是在Dim的執行順序不重要，如果是在某個指令之後執行Dim，一樣也會影響前面的指令行。</SPAN></STRONG></DIV>
<DIV>這是花了我一個多小時除bug的心得，希望不要有人跟我掉入一樣的語法誤用。<br/>……]]></description>
<author>V怪客</author>
<pubDate>2007/6/15 上午 11:12:00</pubDate>
</item>
<item>
<title><![CDATA[讓Awstats中搜尋的關鍵字正常顯示的方法!!]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1877.html</link>
<description><![CDATA[<P>AWStats分析報表中，有關搜尋的關鍵字句會變成亂碼的主因，是因為現在的搜尋引擎都是使用UTF8，而Awstats是使用Big5，所以在顯示上會出現亂碼。</P>
<DIV class=entry-more id=more>
<P>要解決此問題，就是把awstats設定中的LoadPlugin="decodeutfkeys"啟動。就可以了</P>
<P># Plugin: DecodeUTFKeys<BR># Perl modules required: Encode and URI::Escape<BR># Allow AWStats to show correctly (in language charset) keywords/keyphrases<BR># strings even if they were UTF8 coded by the referer search engine.<BR>#<BR>LoadPlugin="decodeutfkeys"</P>
<br/>……]]></description>
<author>V怪客</author>
<pubDate>2007/6/5 上午 11:39:00</pubDate>
</item>
<item>
<title><![CDATA[安裝超實用的Awstats IIS Log分析軟體]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1871.html</link>
<description><![CDATA[<DIV>嗯，在安裝AWStats logfile analyzer軟體分析主機iis logs前，必須要讓Windows的IIS支援perl語言喔!!</DIV><BR>
<DIV>第一步、安裝AWStats logfile analyzer：</DIV><BR>
<DIV>1)如果你還沒完成perl的支持...請先參考這一篇: <A href="http://www.bloghome.com.tw/Users/user1/43/archives/2007/1870.html">Users/user1/43/archives/2007/1870.html</A></DIV><BR>
<DIV>2)接著<A class=postlink href="http://awstats.sourceforge.net/" target=_blank><SPAN style="http://www.bloghome.com.tw/COLOR: #5493b4">前往 Awstats 官方網站</SPAN></A>，下載最新版本的AWStats logfile analyzer(目前為6.6版)(<A style="FONT: 8pt arial,helvetica,verdana" onclick="return(LaunchDownload('release<br/>……]]></description>
<author>V怪客</author>
<pubDate>2007/6/5 上午 01:08:00</pubDate>
</item>
<item>
<title><![CDATA[讓WindowsIIS也能跑Perl的安裝方法(ActivePerl for II]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1870.html</link>
<description><![CDATA[<DIV>1)先至<A href="http://www.activestate.com/products/activeperl/">http://www.activestate.com/products/activeperl/</A>，下載最新版activeperl/(目前版本5.8.8.820)，將下載後的程式檔放在本機磁碟暫存目錄中(最好不要放在網路連線磁碟，因為本人有過安裝失敗，就是因為安裝檔是從網路連線磁碟目錄中讀取的)。</DIV>
<DIV>2)雙擊安裝檔後開始自動執行安裝，過程中每個視窗只要按下一步，不要更動任何預設值，耐心等候，即會完成程式的安裝。<br/>……]]></description>
<author>V怪客</author>
<pubDate>2007/6/5 上午 12:41:00</pubDate>
</item>
<item>
<title><![CDATA[ADO提供的資料型態與MS SQL資料類型的對應]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1857.html</link>
<description><![CDATA[<P>我在asp 3.0中使用預存程序時，在參數設定上就會用到ado的資料型態，此時應與MS SQL資料類型能對應，故可參考下表。</P>




<DIV><SPAN style="FONT-SIZE: 10pt">int<BR></DIV></SPAN>
<SPAN style="FONT-SIZE: 10pt">3<BR></SPAN>
<SPAN style="FONT-SIZE: 10pt">&nbsp;adInteger整型<BR></SPAN>
<SPAN style="FONT-SIZE: 10pt">int 数据类型可以存储从- 2<SUP>31</SUP>(-2147483648)到2<SUP>31</SUP> (2147483 647)之间的整数。存储到数据库的几乎所有数值型的数据都可以用这种数据类型。<br/>……]]></description>
<author>V怪客</author>
<pubDate>2007/5/29 下午 03:21:00</pubDate>
</item>
<item>
<title><![CDATA[xoops的gallery模組進階技巧]]></title>
<link>http://www.bloghome.com.tw/Users/user1/43/archives/2007/1854.html</link>
<description><![CDATA[<DIV>如果我們移動xoops到新的磁碟或目錄，你會發現屬於gallery的新影像及隨機影像區塊，都變成破圖(見圖1)，解決方式如下：</DIV>
<DIV>因為gallery會把實體路徑寫死在xoopsgallery_image資料表中的image_basedir欄位(見圖2)，故你會發現一旦你的新路徑與該欄位中的值不符，在新影像和隨機影像區塊就是破圖，但是點擊圖示後的圖像顯示則又不是讀取image_basedir的路徑，故點擊圖示後的圖像還可以正常瀏覽。<br/>……]]></description>
<author>V怪客</author>
<pubDate>2007/5/29 上午 09:26:00</pubDate>
</item>

</channel>
</rss>