<?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>聰明的生活2 &#187; 教學</title>
	<atom:link href="http://blog.yslifes.com/archives/tag/teach/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.yslifes.com</link>
	<description>自己寫java程式的一些筆記</description>
	<lastBuildDate>Wed, 08 Feb 2012 02:26:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<atom:link rel='hub' href='http://blog.yslifes.com/?pushpress=hub'/>
		<item>
		<title>[Java]常用數字函數</title>
		<link>http://blog.yslifes.com/archives/992</link>
		<comments>http://blog.yslifes.com/archives/992#comments</comments>
		<pubDate>Tue, 07 Feb 2012 15:06:04 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Java基礎入門]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[String]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/?p=992</guid>
		<description><![CDATA[字串取小數幾位，不足碼補零 package com.creations.util; &#160; import java.math.BigDecimal; import java.text.DecimalFormat; import java.text.DecimalFormatSymbols; &#160; public class NumberUtils &#123; /** * 字串取小數幾位 * * @param str * 字串(數字) * @param precision * 小數幾碼 * @return 取好的字串 */ public static String MarkUpZero&#40;String str, int precision&#41; &#123; String maskup = &#34;00000000000&#34;; String retVal = str; &#160; retVal = StringUtils.nvl&#40;retVal, &#34;0&#34;&#41;; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/992/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[教學]安裝Eclipse 3.3 + Visual Editor 1.2</title>
		<link>http://blog.yslifes.com/archives/893</link>
		<comments>http://blog.yslifes.com/archives/893#comments</comments>
		<pubDate>Thu, 17 Feb 2011 16:03:44 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[軟體介紹]]></category>
		<category><![CDATA[virtual editor]]></category>
		<category><![CDATA[教學]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/893</guid>
		<description><![CDATA[Eclipse-VE是Eclipse一個Plugin套件，可以用來快速開發視覺化GUI畫面像是Swing、SWT或是AWT元件程式。 安裝方式如下： 1.請先下載Eclipse Eclipse IDE for Java Developers或是Eclipse IDE for Java EE Developers都可以。 2.下載Visual Editor 1.2 然後把VE解開後放到Eclipse目前下，就可以打開Eclipse。或是直接在Help-&#62;SoftWare Updates -&#62; Available Software - &#62; 按Add Site然後輸入http://download.eclipse.org/tools/ve/updates/1.4/ 按下Ok然後在列表裡把剛才加入的site打勾，再選右上角的Install就會自動下載跟安裝啦。 可以在Window-&#62;Preferences可以進行Visual Editor的設定，如下： 3.再來新增一個Java Project 在File-&#62;New-&#62;Java Project，然後輸入專案名稱按Finish，再來新增一個Class，File-&#62;New-&#62;Other-&#62;Swing-&#62;JFrame Visual Class 如下圖： 4.輸入Class Name ，這裡可以做一些設定，然後按Finish 5.畫面配制說明 在右邊可以看到是元件Component，可以按一下可以加到Container內，下面在JavaBeans分頁裡可以看到this的JFrame及內容Container，之後加上的元件Component都會在這裡顯示出來，上面是程式畫面，中間是程式碼部份，任何的動作完都會自動加入程式碼。 6.修改元件屬性 把View換到Properties裡，可以看到屬性視窗，改個Title試一下，可以看到程式碼加上了this.setTitle(&#34;This is a Test JFrame&#34;);而GUI畫面也馬上變了Title。 再來我們把另外二個屬性也改一下，視窗關閉的預設動作DISPOSE，如下圖： 7.在container裡增加元件 加入一個Button，按JButton，然後移到JFrame上，加到North裡，再來設定Button的Name按確定（object-Name），另外我們還要幫Button加上顯示的Text，在屬性Text加上＂按我＂，可以看到程式碼及畫面一起更新了。]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/893/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Java]基本IO輸出Output及輸入Input-Console</title>
		<link>http://blog.yslifes.com/archives/821</link>
		<comments>http://blog.yslifes.com/archives/821#comments</comments>
		<pubDate>Wed, 01 Dec 2010 22:58:00 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Java基礎入門]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[程式]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/821</guid>
		<description><![CDATA[Java的輸出及輸入控制大都定義在java.io.*裡，像是檔案File的讀寫，週邊設備RS232、LPT等的輸出與輸入都需要到Java IO。而Java IO大概分成二大類，一類是byte的讀取與寫出，可讀取寫入二位元binary的資料，而另一個是char的讀取與寫入，提供文字的讀取與寫入。 System類別並不屬於java.io的套件，而是屬於java.lang套件，在使用時預設載入，所以並不需要特別去import它。 System.in 通常是指鍵盤的輸入，為java.io.InputStream類別 System.out 通常是指Console螢幕輸出，為java.io.PrintStream類別 System.err 同System.out，主要是用在系統出錯時輸出至Console螢幕 註：Java本身在處理字串時均是使用utf8 uncode的方式，不過在Windows的Console(螢幕)字串的顯示與輸入都是使用ISO-8859-1編碼，所以需要先把字串轉換成Big5再行輸出，在Linux上則不會有這種問題。 System.out System.out.println(內容)：輸出”內容”加上”斷行\r\n”至Console(螢幕) System.out.print(內容)：輸出”內容”至Console(螢幕) 如果要輸出的內容需要有字串、文字、日期等，可以利用字串的連接+來把字串串連起來進行輸出。ex.&#34;中文&#34;+123 如果需要自行做斷行，可以使用\r\n來做換行動作。ex.System.out.print(&#34;中文\r\n我換行了&#34;); 範例原始碼： package yku.tech; &#160; public class SysOut &#123; public static void main&#40;String args&#91;&#93;&#41; &#123; //會自動加入斷行\r\n System.out.println&#40;&#34;Hello World!!&#34;&#41;; //不會斷行 System.out.print&#40;&#34;This is a test!&#34;&#41;; System.out.print&#40;&#34; 這會接在字串後面 &#34;&#41;; //數字、浮點、長整數、字元、字串都可以輸出 System.out.println&#40;546&#41;; &#160; int a = 456; System.out.print&#40;&#34;數字：&#34;&#41;; System.out.println&#40;a&#41;; &#160; float b = [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/821/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[JSP]Servlet網站人數圖形計數器</title>
		<link>http://blog.yslifes.com/archives/723</link>
		<comments>http://blog.yslifes.com/archives/723#comments</comments>
		<pubDate>Mon, 04 Oct 2010 11:56:09 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jsp]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[程式]]></category>
		<category><![CDATA[servlet]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/723</guid>
		<description><![CDATA[計數器可以計算有多少人來瀏覽網頁，主要是利用java Servlet來產生圖形串流，輸出至使用者端，一般的capatch也可以使用此原理來製做。 程式可利用參數的傳遞來改變計數器的樣式，像是背景、前景、字型大小、字型顏色，還可以指定要存放的檔案名稱來區分想要計數的網頁，大概的結果樣式如下： 左邊是有更改Session及存取檔案名稱，右邊是預設的，二個可以同時執行各自計算數量 參數是cname=檔案名稱，sname=Session參數 可以看到檔案被自動建立了 其它參數可以參考範例的html code index.jsp &#60;%@ page language=&#34;java&#34; contentType=&#34;text/html; charset=UTF-8&#34; pageEncoding=&#34;UTF-8&#34;%&#62; &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD HTML 4.01 Transitional//EN&#34; &#34;http://www.w3.org/TR/html4/loose.dtd&#34;&#62; &#60;html&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=UTF-8&#34;&#62; &#60;title&#62;使用預設的檔案做計數器檔案&#60;/title&#62; &#60;/head&#62; &#60;body&#62; 檔案名稱為：count.txt SessionName：count &#60;table style=&#34;border: 1px solid #000000&#34;&#62; &#60;tr&#62; &#60;td&#62;原始&#60;/td&#62; &#60;td&#62;前景rgb(255,255,255)&#60;br /&#62; 背景rgb(121,82,205)&#60;br /&#62; 字型Size 24&#60;br /&#62; 字型 Courier&#60;/td&#62; &#60;td&#62;&#60;img src=&#34;Counter.jpg&#34; /&#62;&#60;/td&#62; &#60;/tr&#62; &#60;tr&#62; [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/723/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Java]JDBC連線操作HSQLDB資料庫的範例</title>
		<link>http://blog.yslifes.com/archives/721</link>
		<comments>http://blog.yslifes.com/archives/721#comments</comments>
		<pubDate>Sun, 03 Oct 2010 14:49:03 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[database]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[程式]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/721</guid>
		<description><![CDATA[hsqldb是個不用安裝也不用啟動的database資料庫，在openoffice裡的base資料庫也是使用此種資料庫，只是再把檔案入放進一個壓縮檔裡而已，所以如果想在openoffice裡操作base資料庫，需要先把檔案解開（在程式裡），再取裡面的資料載來做操作，因為不需要安裝，所以在使用jdbc連線後，如需關閉資料庫，需要使用傳送SQL語法使關閉Statement.execute(&#34;SHUTDOWN&#34;);。 底下有一個簡單的範裡，包含了新增、刪除、查詢、建立資料表及刪除資料表等操作，範例如果如下： &#160; 1.先下載jdbc driver http://sourceforge.net/project/showfiles.php?group_id=23316 解壓縮後把資料夾裡的lib/hsqldb.jar放到classpath裡 2.測試的程式碼 package db; &#160; //import org.hsqldb.jdbcDriver; import java.sql.*; &#160; public class Ooo &#123; private Connection con = null; // Database objects &#160; private Statement stat = null; private ResultSet rs = null; private PreparedStatement pst = null; &#160; private String dropdbSQL = &#34;DROP TABLE User1 IF EXISTS &#34;; [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/721/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[php]簡單的購物車範例</title>
		<link>http://blog.yslifes.com/archives/718</link>
		<comments>http://blog.yslifes.com/archives/718#comments</comments>
		<pubDate>Thu, 23 Sep 2010 14:08:19 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[prototype]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[程式]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[opensource]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/718</guid>
		<description><![CDATA[簡單的購物車範例，不需要操作Session，範例有新增、修改與刪除購物車等，主要是修改 [Class]參考 sCart 建立的購物車 Class，這個範例年代久遠，所以在使用時有發生問題也不知道怎麼處理，所以小修了一下。 程式的概念是有一個產品展示頁面，有加入購物車功能，加入購物車後，可以至下一頁修改數量或刪除產品，修改或刪除產品時總金額也會隨著一起更新，再下一頁就可以看到最後結帳的最終資訊，理論上可以在這裡製作聯絡資料的表單。 產品展示頁面 原始碼Product.php &#60;!DOCTYPE html PUBLIC &#34;-//W3C//DTD XHTML 1.0 Transitional//EN&#34; &#34;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&#34;&#62; &#60;html xmlns=&#34;http://www.w3.org/1999/xhtml&#34;&#62; &#60;head&#62; &#60;meta http-equiv=&#34;Content-Type&#34; content=&#34;text/html; charset=UTF-8&#34; /&#62; &#60;title&#62;購物車加入範例&#60;/title&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;js/menu.js&#34;&#62;&#60;/script&#62; &#60;link rel=&#34;shortcut icon&#34; href=&#34;images/i.ico&#34; /&#62; &#60;/head&#62; &#60;body&#62; &#60;div class=&#34;right_main&#34;&#62; &#160; &#60;div class=&#34;product clearfix&#34;&#62; &#60;div class=&#34;product_body fle&#34;&#62; &#60;div class=&#34;product_poto fle&#34;&#62;&#60;/div&#62; &#60;div class=&#34;product_word fle&#34;&#62; &#60;div class=&#34;product_word_tit&#34;&#62;測試資料&#60;/div&#62; &#60;div class=&#34;product_word_word&#34;&#62;規 格：122&#60;br [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/718/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>利用Eclipse製作可執行jar run</title>
		<link>http://blog.yslifes.com/archives/680</link>
		<comments>http://blog.yslifes.com/archives/680#comments</comments>
		<pubDate>Tue, 22 Jun 2010 23:46:47 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[eclipse]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/680</guid>
		<description><![CDATA[寫好java application之後，要執行時可以直接使用java.exe來執行classes，另外還有幾種方式也可以執行，像是Web Start run或是jar run等等，只需要使用jar.exe來打包所有classes就可以了，而在Eclipse上要打包jar檔更是方便，只需要利用匯出精靈幾個步驟就可以完成了。jar其實也是一種zip壓縮檔。 利用範例[Java]SiteMap Creater-簡單的SiteMap建立程式來匯出產生jar run。 打開Eclipse後，在要執行jar檔的專案根目路上按右鍵選則Export 選擇要匯出的java檔，要能夠執行jar run需要把含有main的java檔一起選取 設定要匯出的路徑及檔案名稱 可以選擇要使用的設定檔，一起打包，像是log4j的設定檔 再來可以設定是否匯出complier時是否告知警告及complier錯誤等 再來要設定Mainifest，可以利用精靈來做設定，不過使用記事本編輯後再選取檔案，也是個不錯的方式 Manifest-Version: 1.0 Sealed: true Main-Class: yku.xml.SiteMapCreator2 Class-Path: lib/mysql-connector-java-5.0.4-bin.jar lib/log4j-1.2.15.jar lib/commons-logging.jar Main-Class告知此jar從那個class開始執行（含main的程式） Class-Path外部library的位置，中間利用空白檔分隔 最後記得給於一行空白當結束 完成後可以看到SiteMapCreator.jar已完成 要執行此jar檔，還需要原本開發時所需要的library，如commons-logging.jar、log4j-1.2.15.jar及mysql-connector-java-5.0.4-bin.jar 把這些檔案放到剛才Mainifest.mf所指定的目錄下，如lib目錄 再來把一些其它的設定檔及需求檔案（是否打包進入jar裡，要看程式的設計方式） 再來只需要打開common視窗，利用以下語法就可以了 java -jar SiteMapCreator.jar jar -jar jar檔案 參數]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/680/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>[Java]迴圈中斷及繼續</title>
		<link>http://blog.yslifes.com/archives/630</link>
		<comments>http://blog.yslifes.com/archives/630#comments</comments>
		<pubDate>Thu, 06 May 2010 15:03:55 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[Java基礎入門]]></category>
		<category><![CDATA[教學]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[中斷]]></category>
		<category><![CDATA[基礎入門]]></category>
		<category><![CDATA[迴圈]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/630</guid>
		<description><![CDATA[在上一章節裡提到了迴圈，這章節講要來講述如何中斷或者繼續下一步。 在一般的狀況下，只要跑完迴圈就可以結束這個迴圈的動作了，例如：1 到 50累加，只要到達結束點50就可以結束了，但如果想中突結束呢？是有幾個方法可以這麼做其中有二個是中斷，另一個是叫＂繼續＂，還有另一個是中突出現錯誤Exception而跳出。以下一一來解釋這些方法： 1.迴圈中斷break 當執行迴圈時，合乎結束條件時，迴圈就算完成任務了，但如果中突有需要跳離時呢？這時候可以使用break這個關鍵字。 只需要在想要做中斷的地方輸入break ; 就會直接結束迴圈，並向下執行迴圈外的敘述句。 例子： 1 2 3 4 5 6 7 8 //迴圈裡會印出0,1,2,3,4,5, for&#40;int i = 0 ; i &#60; 10;i++&#41; &#123; System.out.print&#40;i+&#34;,&#34;&#41;; if&#40;i==5&#41;//當i==5時就先中斷這個迴圈了 break; &#125; System.out.println&#40;&#34;xxxxx&#34;&#41;; 答案： 0,1,2,3,4,5,xxxxx 2.回傳資料return return是直接回傳一個資料型態或無任何型態，而不再繼續向下執行其它敘述句，所以可以中斷迴圈的執行，最常用在函數的回傳值。 用法上跟break一樣，在需要回傳值或中斷的地方直接輸入return ; 就可以中斷且不向下執行。 例子： 1 2 3 4 5 6 7 8 //迴圈裡會印出0,1,2,3,4,5, for&#40;int i = 0 ; [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/630/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[安裝]osCommerce2.2 中文版</title>
		<link>http://blog.yslifes.com/archives/629</link>
		<comments>http://blog.yslifes.com/archives/629#comments</comments>
		<pubDate>Tue, 04 May 2010 22:57:22 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[教學]]></category>
		<category><![CDATA[架站]]></category>
		<category><![CDATA[軟體介紹]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[購物車]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/629</guid>
		<description><![CDATA[繼上篇安裝英文版的osCommerce，這次要介紹由kmd甘碼店幫忙中文化的版本，核心還是原本的osCommerce，不過下載需要註冊才能夠下載，而kmd也提供了很多樣本templete可供下載，可以改裝一下自己商城的的外觀。中文化的版本包裝檔裡把原本英文版內的一些手冊拿掉了，需要手冊的人還是可以下載英文版來看看的。 安裝環境 Wdinwos XP 、Apache 2.2、MySQL 5、PHP 5 系統需求 Server Requirements PHP v3+ (PHP v5+ recommended) MySQL v3+ (MySQL v5+ recommended) 官網及下載點 英文版官網：http://www.oscommerce.com/ kmd甘碼店官網：http://www.kmd.com.tw utf8版下載點：http://www.kmd.com.tw/File/details.php?file=673&#38;osCsid=9tb7spvqv8fbds3c3u1dg10qc7 skydriver備源下載 安裝方法 ps.圖片太小看不清楚可以按連結去看大張一點的 1.下載後解壓縮，把osc22ms2update051113/catalog 資料夾裡的東西全都copy到Apache設定的目錄（或上傳到你的空間去）ex.c:\Apache\buy 2.輸入http://你的網址或localhost/install/install.php進行安裝 3.開始進行安裝 首先會詢問是否安裝資料庫及商店與商品資料，如果原本並沒有安裝過的人需要打勾 輸入資料庫位置網址、資料帳號、資料庫密碼、資料庫名稱，保持連接－如果是在自己的主機而且沒有其它服務的話可以打勾，Session儲存於檔案或資料庫，如果在自己的主機可以選擇檔案，減少對資料庫的存取時間，否則就選資料庫吧。 資料庫名稱及密碼，及使用的Database這些都需要先建好並給於足夠的權限。 按繼續後會告知資料庫連接成功與否，如果成功後需要匯入資料庫script檔。 匯入成功，按繼續就可以了， 再來需要設定你的網頁位置跟實際的網頁跟目錄在那裡，及HTTP Cookie的網址及其要存放的路徑，設定SSL連線會比較吃系統資料，不過安全性會提高，這裡先不啟用。 ex. 網頁位置：http://buy.yslifes.com 網頁跟目錄：d:/Appache/buy HTTP Cookie 網址：buy.yslifes.com HTTP Cookie 路徑：/ 再設定一次資料庫資料，一般都會幫忙帶入 完成啦！可以選擇去前台看看或著去後台管理工具那裡設定。 首先先到前台來完成其它設定項目。 有三個警告事項需要處理 第一個是說安裝目錄還存在，可能會有被重新設定的危險 第二個是講設定檔configute.php可能會被修改到 第三個是Session存放的目錄不存在（因為在前面設定時，Session存放選擇了檔案） [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/629/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[安裝]osCommerce 2.2 英文版</title>
		<link>http://blog.yslifes.com/archives/627</link>
		<comments>http://blog.yslifes.com/archives/627#comments</comments>
		<pubDate>Tue, 04 May 2010 15:08:56 +0000</pubDate>
		<dc:creator>yku</dc:creator>
				<category><![CDATA[教學]]></category>
		<category><![CDATA[架站]]></category>
		<category><![CDATA[opensource]]></category>
		<category><![CDATA[osCommerce]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[購物車]]></category>

		<guid isPermaLink="false">http://blog.yslifes.com/archives/627</guid>
		<description><![CDATA[osCommerce是一套open source的電子商務平台，可以自行增加擴充外掛，也能自訂顯示的樣本，自由度十分的高。安裝上也十分簡單，只需要有AMP(apache MySQL PHP)的環境就可以進行安裝了，一般租用的平台也適用。 有了空間或主機及網址名稱後，如何架設一個拍賣平台呢？以下提供osCommerce 2.2版的安裝畫面，下一筆將提供中文版的，不太一樣的畫面。 安裝環境 Wdinwos XP 、Apache 2.2、MySQL 5、PHP 5 系統需求 Server Requirements PHP v3+ (PHP v5+ recommended) MySQL v3+ (MySQL v5+ recommended) 官網及下載點 官網：http://www.oscommerce.com/ 下載點：http://www.oscommerce.com/solutions/downloads 官方直接下載：oscommerce-2.2rc2a.zip skydriver下載 安裝方法 ps.圖片太小看不清楚可以按連結去看大張一點的 1.下載後解壓縮，把oscommerce-2.2rc2a/catalog 資料夾裡的東西全都copy到Apache設定的目錄（或上傳到你的空間去）ex.c:\Apache\buy 2.輸入http://你的網址或localhost/install/install.php進行安裝 3.首先設定你的Database Server網址,如果在本機就輸入localhost，然後開始安裝 資料庫名稱及密碼，及使用的Database這些都需要先建好並給於足夠的權限。 輸入錯誤的話會在右下角顯示錯誤的狀況，進行修正後再按Continue 執行中的話面，千萬別心急按開了，畫面左下角都會有提示的喔。 成功後輸入Web Server的資料，然後按Continue WWW Address 你的網址 Web server Root Directory 正實程式所存放的路徑 再來要輸入一些基本資料，然後按Continue 商店名稱Store Name 此商店擁有者名稱Store [...]]]></description>
		<wfw:commentRss>http://blog.yslifes.com/archives/627/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

