<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Mobius 網站設計</title>
	
	<link>http://web.mobius.tw/blog</link>
	<description />
	<pubDate>Fri, 09 Jul 2010 09:00:31 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/mobius" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="mobius" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>虛擬主機: CPenal環境</title>
		<link>http://web.mobius.tw/blog/%e4%b8%bb%e6%a9%9f%e7%92%b0%e5%a2%83/%e8%99%9b%e6%93%ac%e4%b8%bb%e6%a9%9f-cpenal%e7%92%b0%e5%a2%83/</link>
		<comments>http://web.mobius.tw/blog/%e4%b8%bb%e6%a9%9f%e7%92%b0%e5%a2%83/%e8%99%9b%e6%93%ac%e4%b8%bb%e6%a9%9f-cpenal%e7%92%b0%e5%a2%83/#comments</comments>
		<pubDate>Fri, 09 Jul 2010 09:00:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[主機環境]]></category>

		<guid isPermaLink="false">http://web.mobius.tw/blog/?p=83</guid>
		<description><![CDATA[新帳號 actionlearning.com.tw 以新 C-Penal 平台建置
帳號：learning
新開網址預設為：http://124.219.39.88/~learning
DNS:
ns1.actionlearning.com.tw 124.219.39.88
ns2.actionlearning.com.tw 124.219.39.88
]]></description>
			<content:encoded><![CDATA[<p>新帳號 actionlearning.com.tw 以新 C-Penal 平台建置</p>
<p>帳號：learning</p>
<p>新開網址預設為：http://124.219.39.88/~learning</p>
<p>DNS:</p>
<p><a href="http://ns1.actionlearning.com.tw/" target="_blank">ns1.actionlearning.com.tw</a> 124.219.39.88<br />
<a href="http://ns2.actionlearning.com.tw/" target="_blank">ns2.actionlearning.com.tw</a> 124.219.39.88</p>
]]></content:encoded>
			<wfw:commentRss>http://web.mobius.tw/blog/%e4%b8%bb%e6%a9%9f%e7%92%b0%e5%a2%83/%e8%99%9b%e6%93%ac%e4%b8%bb%e6%a9%9f-cpenal%e7%92%b0%e5%a2%83/feed/</wfw:commentRss>
		</item>
		<item>
		<title>XML 基礎</title>
		<link>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/xml-%e5%9f%ba%e7%a4%8e-2/</link>
		<comments>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/xml-%e5%9f%ba%e7%a4%8e-2/#comments</comments>
		<pubDate>Sat, 27 Mar 2010 07:36:42 +0000</pubDate>
		<dc:creator>mobius</dc:creator>
		
		<category><![CDATA[網頁設計]]></category>

		<guid isPermaLink="false">http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/xml-%e5%9f%ba%e7%a4%8e-2/</guid>
		<description><![CDATA[XML 標籤語法&#60;元素名稱&#62;&#160;&#160;&#160;&#160; &#60;元素名稱 屬性名稱=&#8221;屬性值&#8221;&#62;&#160;&#160;&#160;&#8230;&#160;&#160;&#160; 文字內容&#160;&#160;&#160;&#160;&#60;/元素名稱&#62;&#60;/元素名稱&#62;
XML範例&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#60;bookstore&#62;&#160; &#60;book category=&#8221;CHILDREN&#8221;&#62;  &#160;&#160;&#160;  &#60;title&#62;Harry Potter&#60;/title&#62;   &#160;&#160;&#160;   &#60;author&#62;J K. Rowling&#60;/author&#62;  &#160;&#160;&#160;  &#60;year&#62;2005&#60;/year&#62;  &#160;&#160;&#160;  &#60;price&#62;29.99&#60;/price&#62;&#160; &#60;/book&#62;&#160; &#60;book category=&#8221;WEB&#8221;&#62;  &#160;&#160;&#160;  &#60;title&#62;Learning XML&#60;/title&#62;  &#160;&#160;&#160;  &#60;author&#62;Erik T. Ray&#60;/author&#62;  &#160;&#160;&#160;  &#60;year&#62;2003&#60;/year&#62;  &#160;&#160;&#160;  &#60;price&#62;39.95&#60;/price&#62;&#160; &#60;/book&#62;&#60;/bookstore&#62;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-XML 基本字彙element: 元素attribute: 屬性tree: 節點樹node: [...]]]></description>
			<content:encoded><![CDATA[<p>XML 標籤語法<br />&lt;元素名稱&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp; &lt;元素名稱 屬性名稱=&#8221;屬性值&#8221;&gt;<br />&nbsp;&nbsp;&nbsp;<br />&#8230;<br />&nbsp;&nbsp;&nbsp; 文字內容<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&lt;/元素名稱&gt;<br />&lt;/元素名稱&gt;</p>
<p>XML範例<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />&lt;bookstore&gt;<br />&nbsp; &lt;book category=&#8221;CHILDREN&#8221;&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;title&gt;Harry Potter&lt;/title&gt;<br />   &nbsp;&nbsp;&nbsp;   &lt;author&gt;J K. Rowling&lt;/author&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;year&gt;2005&lt;/year&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;price&gt;29.99&lt;/price&gt;<br />&nbsp; &lt;/book&gt;<br />&nbsp; &lt;book category=&#8221;WEB&#8221;&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;title&gt;Learning XML&lt;/title&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;author&gt;Erik T. Ray&lt;/author&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;year&gt;2003&lt;/year&gt;<br />  &nbsp;&nbsp;&nbsp;  &lt;price&gt;39.95&lt;/price&gt;<br />&nbsp; &lt;/book&gt;<br />&lt;/bookstore&gt;<br />&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br /><b>XML 基本字彙</b><br />element: 元素<br />attribute: 屬性<br />tree: 節點樹<br />node: 結點</p>
<p>CDATA: 相似HTML中&lt;pre&gt;&lt;/pre&gt;語法 C代表character<br />語法:<br />&lt;![CDATA[<br />.....<br />]]&gt;</p>
<p>XPATH: XML 節點搜尋<br /><img style="max-width: 800px;" src="http://web.mobius.tw/blog/wp-content/uploads/2010/03/xpath.jpg" /></p>
<p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=c5892eec-687a-8d3b-9330-b7822b383a49" /></div>
]]></content:encoded>
			<wfw:commentRss>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/xml-%e5%9f%ba%e7%a4%8e-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>如何從 rss 中看到 xml 原始碼</title>
		<link>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%a6%82%e4%bd%95%e5%be%9e-rss-%e4%b8%ad%e7%9c%8b%e5%88%b0-xml-%e5%8e%9f%e5%a7%8b%e7%a2%bc/</link>
		<comments>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%a6%82%e4%bd%95%e5%be%9e-rss-%e4%b8%ad%e7%9c%8b%e5%88%b0-xml-%e5%8e%9f%e5%a7%8b%e7%a2%bc/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 05:56:19 +0000</pubDate>
		<dc:creator>mobius</dc:creator>
		
		<category><![CDATA[網頁設計]]></category>

		<guid isPermaLink="false">http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%a6%82%e4%bd%95%e5%be%9e-rss-%e4%b8%ad%e7%9c%8b%e5%88%b0-xml-%e5%8e%9f%e5%a7%8b%e7%a2%bc/</guid>
		<description><![CDATA[1. 直接點擊RSS小標籤連結，或複製連結網址到新視窗貼上開啟
2.瀏覽器會自動解析XML後顯示
3. 以頁面原始碼檢視

]]></description>
			<content:encoded><![CDATA[<p>1. 直接點擊RSS小標籤連結，或複製連結網址到新視窗貼上開啟<br /><img style="max-width: 800px;" src="http://web.mobius.tw/blog/wp-content/uploads/2010/03/2010-03-24-134416.jpg" /></p>
<p>2.瀏覽器會自動解析XML後顯示<br /><img style="max-width: 800px;" src="http://web.mobius.tw/blog/wp-content/uploads/2010/03/2.jpg" /></p>
<p>3. 以頁面原始碼檢視<br /><img style="max-width: 800px;" src="http://web.mobius.tw/blog/wp-content/uploads/2010/03/3.jpg" /></p>
<div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=f3374da9-36f6-8ea6-a75b-178c68b023a4" /></div>
]]></content:encoded>
			<wfw:commentRss>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%a6%82%e4%bd%95%e5%be%9e-rss-%e4%b8%ad%e7%9c%8b%e5%88%b0-xml-%e5%8e%9f%e5%a7%8b%e7%a2%bc/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[jQuery] Lazy與Lazy Load</title>
		<link>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/jquery-lazy%e8%88%87lazy-load/</link>
		<comments>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/jquery-lazy%e8%88%87lazy-load/#comments</comments>
		<pubDate>Thu, 30 Apr 2009 03:36:55 +0000</pubDate>
		<dc:creator>yoren</dc:creator>
		
		<category><![CDATA[網頁技術]]></category>

		<category><![CDATA[網頁設計]]></category>

		<category><![CDATA[http request]]></category>

		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://web.mobius.tw/blog/?p=70</guid>
		<description><![CDATA[
在這篇11個小於4K的好用jQuery外掛裡面，介紹了Lazy，它可以讓瀏覽器只下載有用到的jQuery外掛檔案，以減少HTTP request（請開啟範例網頁後，使用Firebug觀察網路）。用法是：

$.lazy('jquery.elastic.js','elastic');
$.lazy('jquery.validation.js','validate');
$.lazy('jquery.ajaxdotnet.js','ajaxDotNet');

// 照常使用外掛
$('textarea').elastic();

當然這類用途的外掛並不新穎，重點是Lazy非常地輕巧，只有不到1K的大小。
有意思的是在Google這個外掛的時候，另外發現了jEditable作者的另一個作品：Lazy Load（Image Lazy Loader）。它可以加速瀏覽器讀入整個網頁的速度，讓瀏覽器在顯示可視範圍內的圖片後，就算完成網頁的載入；當使用者拉動捲軸繼續瀏覽網頁的其他部份時，圖片才會依序載入。請直接看作者一目了然的範例。
]]></description>
			<content:encoded><![CDATA[<p><a href="http://trif3cta.com/blog/entry/jquery-plugins-under-4k/"><img src="http://blog.yoren.info/wp-content/uploads/2009/04/picture-2-500x370.png" alt="Minimalist jQuery: 11 useful plugins under 4K" title="Minimalist jQuery: 11 useful plugins under 4K" width="500" height="370" class="alignnone size-large wp-image-695" /></a></p>
<p>在這篇<a href="http://trif3cta.com/blog/entry/jquery-plugins-under-4k/" title="Minimalist jQuery: 11 useful plugins under 4K">11個小於4K的好用jQuery外掛</a>裡面，介紹了<a href="http://plugins.jquery.com/project/lazy">Lazy</a>，它可以讓瀏覽器只下載有用到的jQuery外掛檔案，以減少HTTP request（請開啟<a href="http://sandbox.unwrongest.com/jquery.lazy/">範例網頁</a>後，使用Firebug觀察網路）。用法是：</p>
<pre class="brush: javascript;">
$.lazy('jquery.elastic.js','elastic');
$.lazy('jquery.validation.js','validate');
$.lazy('jquery.ajaxdotnet.js','ajaxDotNet');

// 照常使用外掛
$('textarea').elastic();
</pre>
<p>當然這類用途的外掛並不新穎，重點是<a href="http://plugins.jquery.com/project/lazy">Lazy</a>非常地輕巧，只有不到1K的大小。</p>
<p>有意思的是在Google這個外掛的時候，另外發現了<a href="http://blog.yoren.info/2008/05/jquery-%e7%94%a8jeditable%e5%bf%ab%e9%80%9f%e6%9b%b4%e6%96%b0mysql%e8%b3%87%e6%96%99/">jEditable</a>作者的另一個作品：<a href="http://www.appelsiini.net/projects/lazyload">Lazy Load</a>（Image Lazy Loader）。它可以加速瀏覽器讀入整個網頁的速度，讓瀏覽器在顯示可視範圍內的圖片後，就算完成網頁的載入；當使用者拉動捲軸繼續瀏覽網頁的其他部份時，圖片才會依序載入。請直接看作者一目了然的<a href="http://www.appelsiini.net/projects/lazyload/enabled.html">範例</a>。</p>
]]></content:encoded>
			<wfw:commentRss>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/jquery-lazy%e8%88%87lazy-load/feed/</wfw:commentRss>
		</item>
		<item>
		<title>取得國際訂單的外銷型網站設計</title>
		<link>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%8f%96%e5%be%97%e5%9c%8b%e9%9a%9b%e8%a8%82%e5%96%ae%e7%9a%84%e5%a4%96%e9%8a%b7%e5%9e%8b%e7%b6%b2%e7%ab%99%e8%a8%ad%e8%a8%88/</link>
		<comments>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%8f%96%e5%be%97%e5%9c%8b%e9%9a%9b%e8%a8%82%e5%96%ae%e7%9a%84%e5%a4%96%e9%8a%b7%e5%9e%8b%e7%b6%b2%e7%ab%99%e8%a8%ad%e8%a8%88/#comments</comments>
		<pubDate>Mon, 23 Jun 2008 09:31:26 +0000</pubDate>
		<dc:creator>curtiss</dc:creator>
		
		<category><![CDATA[網頁設計]]></category>

		<category><![CDATA[網站設計]]></category>

		<guid isPermaLink="false">http://web.mobius.tw/blog/?p=67</guid>
		<description><![CDATA[- 台灣製造，國際訂購，創造實際銷售的國際行銷型網站
台灣有許多優秀的製造商，面對產業轉型的年代，更要以網站與國際接軌，來讓更多的國際客戶認識，進而提升在全球市場的競爭力。
確實，有許多的國際買家是透過參展來尋找廠商，但更多是透過網站來物色，
要如何讓他們在網路上取得您的資訊，並留下深刻印象，便是摩比斯能為您服務的地方。
國際買家們在乎的網站是甚麼呢?
1. 國際買家必須能搜尋到你的產品
大部分的國際買家，會由網際網路上搜尋相關產業的廠商來作為比較，因此您需要在關鍵字組的搜尋結果中讓客戶先找到您的產品。
2. 中西不同的審美觀 - 優雅簡約的設計風格
台灣的網站設計，偏向於酷炫的風格，偏偏國際的買家尋找台灣產品是為了品質優良與價格合理的產品定位，而酷炫的網站，往往偏離了紮實內容與合理價格的形像；
成功的國際級網站風格，大多採用 CSS 技術來設計出優雅簡約的風格。
3. 直覺性的導覽與紮實的內容
國外的網站使用者已經有其瀏覽習慣，主打外銷市場的網站，只要利用好的導覽架構，紮實地把內容傳遞給客戶，便可符合國際客戶找尋台灣廠商的心態
摩比斯擅於製作國際網站的4大特點
1. SEO 專業
摩比斯所製作的網站首重搜尋引擎的成效，一律針對客戶產品所需的關鍵字做 google 與 yahoo 的搜尋最佳化。
2. 最佳內容管理系統
摩比斯提供最佳的內容管理系統(CMS)，所有的網站內容皆可讓客戶自行新增及修改，讓網站得以隨時間成長而更好。
3. 優秀的國際級設計
我們的設計師擅長應用CSS技術來設計製作網頁，加上天生的創意敏感度，最能符合國際客戶喜歡的優雅簡約風格。
4. 適切的互動功能
摩比斯對於外銷型國際網站應有的功能，擁有豐富的經驗，其基本的互動功能為：

產品型錄系統 (產品展示系統)
聯絡我們表單
最新消息
公司資訊

&#160;
歡迎國內欲針對國際市場行銷的優秀公司，向摩比斯的網頁設計部門洽詢相關網站設計的問題。
]]></description>
			<content:encoded><![CDATA[<p align="right">- 台灣製造，國際訂購，創造實際銷售的國際行銷型網站</p>
<p>台灣有許多優秀的製造商，面對產業轉型的年代，更要以網站與國際接軌，來讓更多的國際客戶認識，進而提升在全球市場的競爭力。</p>
<p>確實，有許多的國際買家是透過參展來尋找廠商，但更多是透過網站來物色，<br />
要如何讓他們在網路上取得您的資訊，並留下深刻印象，便是摩比斯能為您服務的地方。</p>
<h3>國際買家們在乎的網站是甚麼呢?</h3>
<p>1. 國際買家必須能搜尋到你的產品</p>
<p>大部分的國際買家，會由網際網路上搜尋相關產業的廠商來作為比較，因此您需要在關鍵字組的搜尋結果中讓客戶先找到您的產品。</p>
<p>2. 中西不同的審美觀 - 優雅簡約的設計風格</p>
<p>台灣的網站設計，偏向於酷炫的風格，偏偏國際的買家尋找台灣產品是為了品質優良與價格合理的產品定位，而酷炫的網站，往往偏離了紮實內容與合理價格的形像；<br />
成功的國際級網站風格，大多採用 CSS 技術來設計出優雅簡約的風格。</p>
<p>3. 直覺性的導覽與紮實的內容</p>
<p>國外的網站使用者已經有其瀏覽習慣，主打外銷市場的網站，只要利用好的導覽架構，紮實地把內容傳遞給客戶，便可符合國際客戶找尋台灣廠商的心態</p>
<h3>摩比斯擅於製作國際網站的4大特點</h3>
<p>1. SEO 專業</p>
<p>摩比斯所製作的網站首重搜尋引擎的成效，一律針對客戶產品所需的關鍵字做 google 與 yahoo 的搜尋最佳化。</p>
<p>2. 最佳內容管理系統</p>
<p>摩比斯提供最佳的內容管理系統(CMS)，所有的網站內容皆可讓客戶自行新增及修改，讓網站得以隨時間成長而更好。</p>
<p>3. 優秀的國際級設計</p>
<p>我們的設計師擅長應用CSS技術來設計製作網頁，加上天生的創意敏感度，最能符合國際客戶喜歡的優雅簡約風格。</p>
<p>4. 適切的互動功能</p>
<p>摩比斯對於外銷型國際網站應有的功能，擁有豐富的經驗，其基本的互動功能為：</p>
<ul>
<li>產品型錄系統 (產品展示系統)</li>
<li>聯絡我們表單</li>
<li>最新消息</li>
<li>公司資訊</li>
</ul>
<p>&nbsp;</p>
<p class="style1">歡迎國內欲針對國際市場行銷的優秀公司，向摩比斯的網頁設計部門洽詢相關網站設計的問題。</p>
]]></content:encoded>
			<wfw:commentRss>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e5%8f%96%e5%be%97%e5%9c%8b%e9%9a%9b%e8%a8%82%e5%96%ae%e7%9a%84%e5%a4%96%e9%8a%b7%e5%9e%8b%e7%b6%b2%e7%ab%99%e8%a8%ad%e8%a8%88/feed/</wfw:commentRss>
		</item>
		<item>
		<title>[PHP] 如何保護Querystring？</title>
		<link>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e7%b6%b2%e9%a0%81%e6%8a%80%e8%a1%93/php-%e5%a6%82%e4%bd%95%e4%bf%9d%e8%ad%b7querystring/</link>
		<comments>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e7%b6%b2%e9%a0%81%e6%8a%80%e8%a1%93/php-%e5%a6%82%e4%bd%95%e4%bf%9d%e8%ad%b7querystring/#comments</comments>
		<pubDate>Wed, 28 May 2008 03:30:44 +0000</pubDate>
		<dc:creator>yoren</dc:creator>
		
		<category><![CDATA[網頁技術]]></category>

		<category><![CDATA[php]]></category>

		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://web.mobius.tw/blog/?p=56</guid>
		<description><![CDATA[David Walsh的文章：Tips for Protecting Querystring Keys &#38; Values in PHP，建議了以下五種保護Querystring參數和值的方法：

整數需指定資料型態（Typecast Value when Expecting Numbers）：確保整數不會被當成字串而造成錯誤。
$id = (int) $_GET['i'];
淨化輸入值（Sanitize Input）：建立各種類型資料的處理函式，確保資料傳遞時的一致性與安全性。類似在Dreamweaver裡面的GetSQLValueString函式。
關閉REGISTER_GLOBALS（Make Sure REGISTER_GLOBALS is Off）。
不使用有意義的變數名稱（Don’t Make Variable Names Meaningful）：David原本的建議如下，但是有一位仁兄在回應中則持反對的意見，認為這並無助於安全性（還是可以從數值的一致性猜出變數的意義）。

&#60;!-- no! --&#62;
&#60;a href=&#34;/profile.php?user_id=&#60;?php echo $user_id; ?&#62;&#34;&#62;Your Profile&#60;/a&#62;
&#60;!-- yes! --&#62;
&#60;a href=&#34;/profile.php?q=&#60;?php echo $user_id; ?&#62;&#34;&#62;Your Profile&#60;/a&#62;

將數值加密（Encrypt Querystring Values）：使用md5來加密參數值。
&#60;a href=&#34;/profile.php?i=&#60;?php echo md5($user_id); ?&#62;&#34;&#62;Click here&#60;/a&#62;

最後，請問有人知道「Querystring」的中文怎麼翻譯嗎？
補記：jaceju在我的部落格建議Querystring可譯為「網址參數列 (字串) 」，裡面的變數就稱為「網址參數」 (例如 ?abc=123 裡的 abc)
]]></description>
			<content:encoded><![CDATA[<p>David Walsh的文章：<a href="http://davidwalsh.name/tips-protecting-querystring-keys-values-php">Tips for Protecting Querystring Keys &amp; Values in PHP</a>，建議了以下五種保護Querystring參數和值的方法：</p>
<ol>
<li>整數需指定資料型態（Typecast Value when Expecting Numbers）：確保整數不會被當成字串而造成錯誤。</li>
<pre class="brush: php;">$id = (int) $_GET['i'];</pre>
<li>淨化輸入值（Sanitize Input）：建立各種類型資料的處理函式，確保資料傳遞時的一致性與安全性。類似在Dreamweaver裡面的GetSQLValueString函式。</li>
<li>關閉REGISTER_GLOBALS（Make Sure REGISTER_GLOBALS is Off）。</li>
<li>不使用有意義的變數名稱（Don’t Make Variable Names Meaningful）：David原本的建議如下，但是有一位仁兄在回應中則持反對的意見，認為這並無助於安全性（還是可以從數值的一致性猜出變數的意義）。</li>
<pre class="brush: php;">
&lt;!-- no! --&gt;
&lt;a href=&quot;/profile.php?user_id=&lt;?php echo $user_id; ?&gt;&quot;&gt;Your Profile&lt;/a&gt;
&lt;!-- yes! --&gt;
&lt;a href=&quot;/profile.php?q=&lt;?php echo $user_id; ?&gt;&quot;&gt;Your Profile&lt;/a&gt;
</pre>
<li>將數值加密（Encrypt Querystring Values）：使用md5來加密參數值。</li>
<pre class="brush: php;">&lt;a href=&quot;/profile.php?i=&lt;?php echo md5($user_id); ?&gt;&quot;&gt;Click here&lt;/a&gt;</pre>
</ol>
<p>最後，請問有人知道「Querystring」的中文怎麼翻譯嗎？</p>
<blockquote><p>補記：<a href="http://blog.roodo.com/jaceju">jaceju</a>在<a href="http://blog.yoren.info/2008/05/php-%e5%a6%82%e4%bd%95%e4%bf%9d%e8%ad%b7querystring/">我的部落格</a>建議Querystring可譯為「網址參數列 (字串) 」，裡面的變數就稱為「網址參數」 (例如 ?abc=123 裡的 abc)</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://web.mobius.tw/blog/%e7%b6%b2%e9%a0%81%e8%a8%ad%e8%a8%88/%e7%b6%b2%e9%a0%81%e6%8a%80%e8%a1%93/php-%e5%a6%82%e4%bd%95%e4%bf%9d%e8%ad%b7querystring/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
