<?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>Azan 黃贊臣 &#187; php</title>
	<atom:link href="http://tommy.ironman.tw/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://tommy.ironman.tw</link>
	<description>網頁設計文章的蒐集與整理</description>
	<lastBuildDate>Sun, 18 Dec 2011 15:59:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>PHP限制顯示字數語法，中英文混雜時不亂碼</title>
		<link>http://tommy.ironman.tw/php-syntax-restrictions-in-words-in-english-and-chinese-will-not-garbled-mixed/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-syntax-restrictions-in-words-in-english-and-chinese-will-not-garbled-mixed</link>
		<comments>http://tommy.ironman.tw/php-syntax-restrictions-in-words-in-english-and-chinese-will-not-garbled-mixed/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 16:03:48 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[程式設計]]></category>
		<category><![CDATA[mb_substr]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[strlen]]></category>
		<category><![CDATA[UTF-8]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=2999</guid>
		<description><![CDATA[這是在UTF-8網頁編碼的環境下使用，我參考神隱部落所修改的PHP限制顯示字串語法，原作者的語法我使用後發現，當實際字數少於需要顯示的字數的時候，後面3個...還是會出現?? 原來是寫成 if (strlen($a) > $b) echo "..."; 照理說應該這樣字數應該能夠比較才對， 不知是變數$b沒有轉成數字型態還是怎樣，所以我將strlen($a) > $b 改為 strlen($a) > strlen($sub_content) 2個變數都先用strlen取得字串長度，再進行比較，就正常了， 而且不會有中英文混雜時亂碼的問題]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/php-syntax-restrictions-in-words-in-english-and-chinese-will-not-garbled-mixed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP判斷Client端瀏覽器是否為IE6.0</title>
		<link>http://tommy.ironman.tw/http_user_agent-check-msie-6-0/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=http_user_agent-check-msie-6-0</link>
		<comments>http://tommy.ironman.tw/http_user_agent-check-msie-6-0/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 15:49:12 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[HTTP_USER_AGENT]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=2991</guid>
		<description><![CDATA[IE6.0實在是所有網頁設計者的夢靨，有些頁面如IE6.0不支援，乾脆直接跳出警告或轉頁，底下是偵測Client端瀏覽器版本是否為IE6.0 如果去掉6.0的話就只檢查是不是IE]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/http_user_agent-check-msie-6-0/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP與ASP的response.end相同語法為...</title>
		<link>http://tommy.ironman.tw/php-exit-asp-response-end/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-exit-asp-response-end</link>
		<comments>http://tommy.ironman.tw/php-exit-asp-response-end/#comments</comments>
		<pubDate>Tue, 03 Aug 2010 17:17:16 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[exit]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[response.end]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=2730</guid>
		<description><![CDATA[老師說學寫程式的第一步就是...要會除錯， 剛剛找了半天，原來PHP與ASP的response.end(終止程式碼執行) 相同的語法為： 超簡單的~~=.="]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/php-exit-asp-response-end/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP過濾特定的HTML標籤</title>
		<link>http://tommy.ironman.tw/strip-selected-tags/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=strip-selected-tags</link>
		<comments>http://tommy.ironman.tw/strip-selected-tags/#comments</comments>
		<pubDate>Sat, 20 Mar 2010 07:55:20 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[strip_selected_tags]]></category>
		<category><![CDATA[函數]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=1832</guid>
		<description><![CDATA[有時候如果需要在網站上放留言版供網友留言，但有些HTML標籤如&#60;br/&#62;換行要讓他有作用，又要避免一些特定的HTML標籤會讓有心人士做壞事，例如在留言內容夾雜&#60;a href&#62;&#60;img&#62;等標籤，讓人不小心連結過去而中毒，這時就可以加入這個函式：  在要顯示訪客留言的欄位呼叫這個函式，與要過濾的特定標籤，這樣比較靈活，例如只要過濾不讓連結與圖片的HTML標籤有效，就在$your_text,之後加上要過濾的標籤名稱a,img... 傳進涵式後，標籤會轉為陣列逐一過濾  註：要讓輸入文字時按Entert產生的“\n”轉變成換行的&#60;br/&#62;，可能還需要再包入 nl2br 這個函式，例如：  nl2br 是 PHP 內建的涵式，直接呼叫就可以了 參考資料：http://tw.php.net/manual/en/function.strip-tags.php]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/strip-selected-tags/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>讓information_schema資料庫在 PHPMyAdmin中不顯示</title>
		<link>http://tommy.ironman.tw/hidden-information_schema-phpmyadmin/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=hidden-information_schema-phpmyadmin</link>
		<comments>http://tommy.ironman.tw/hidden-information_schema-phpmyadmin/#comments</comments>
		<pubDate>Thu, 11 Mar 2010 16:18:19 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[information_schema]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=1766</guid>
		<description><![CDATA[在默認的情況下，裝完PHPMyAdmin之後，不管用什麼樣的帳號登錄，都會 顯示information_schema這個資料庫，但是我們又不能對這個資料庫進行操作，只能查看它，這個資料庫裏面存放的是資料庫的表名、資料類型、訪問許可權等，大家都想把這個資料庫隱藏掉，不要顯示出來，其實PHPMyAdmin提供這項功能。]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/hidden-information_schema-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP的strtotime() 函數用法，7日內顯示New小圖示語法</title>
		<link>http://tommy.ironman.tw/strtotime-new-icon/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=strtotime-new-icon</link>
		<comments>http://tommy.ironman.tw/strtotime-new-icon/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 05:39:24 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[程式設計]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[函數]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=138</guid>
		<description><![CDATA[PHP的strtotime() 函數可以將字串資料轉為 timestamp，再進行計算...]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/strtotime-new-icon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP如何偵測網路圖片尺寸</title>
		<link>http://tommy.ironman.tw/php-getimagesize/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=php-getimagesize</link>
		<comments>http://tommy.ironman.tw/php-getimagesize/#comments</comments>
		<pubDate>Thu, 17 Dec 2009 09:59:53 +0000</pubDate>
		<dc:creator>Azan</dc:creator>
				<category><![CDATA[程式設計]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://tommy.ironman.tw/?p=12</guid>
		<description><![CDATA[例如網路上有一張圖片，假設網址為 http://tw.yimg.com/i/tw/ks/lsm/ykp_logo.gif，在PHP中有什麼方法可以用這個圖片的網址當作一個參數，回傳它的長、寬、檔案大小？]]></description>
		<wfw:commentRss>http://tommy.ironman.tw/php-getimagesize/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

