<?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>C.K. Blog &#187; PHP</title>
	<atom:link href="http://cckk.tw/wordpress/category/ai/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://cckk.tw/wordpress</link>
	<description>全新上市，保固數年!!</description>
	<lastBuildDate>Thu, 02 Feb 2012 02:18:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>在Linux安裝 php + mcrypt</title>
		<link>http://cckk.tw/wordpress/262/</link>
		<comments>http://cckk.tw/wordpress/262/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 07:02:45 +0000</pubDate>
		<dc:creator>C.K.</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[mcrypt]]></category>

		<guid isPermaLink="false">http://cckk.tw/wordpress/?p=262</guid>
		<description><![CDATA[分享到Facebook 首先先到mcrypt網站下載為新版本 http://sourceforge.net/projects/mcrypt/files/Libmcrypt/ 下載完解壓縮 tar zxvf libmcrypt-2.5.8.tar.gz cd libmcrypt-2.5.8 先安裝 ltdl cd libltdl ./configure --enable-ltdl-install make;make install 再安裝libmcrypt套件 cd .. ./configure --disable-posix-threads make;make install 然後再去編譯php ./configure --with-mcrypt=/usr/local]]></description>
		<wfw:commentRss>http://cckk.tw/wordpress/262/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Easter Egg</title>
		<link>http://cckk.tw/wordpress/232/</link>
		<comments>http://cckk.tw/wordpress/232/#comments</comments>
		<pubDate>Mon, 03 May 2010 14:17:00 +0000</pubDate>
		<dc:creator>C.K.</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://cckk.tw/wordpress/?p=232</guid>
		<description><![CDATA[分享到Facebook 如何關閉 PHP 彩蛋 在安裝php時預設只要在php檔案後面加上 ?=PHPE9568F36-D428-11d2-A769-00AA001ACF42(圖片) ?=PHPB8B5F2A0-3C92-11d3-A3A9-4C7B08C10000(說明) 修改php.ini 將下述 expose_php 由 On 改成 Off 即可]]></description>
		<wfw:commentRss>http://cckk.tw/wordpress/232/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>mysqli函式</title>
		<link>http://cckk.tw/wordpress/184/</link>
		<comments>http://cckk.tw/wordpress/184/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 02:31:27 +0000</pubDate>
		<dc:creator>C.K.</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[mysqli]]></category>

		<guid isPermaLink="false">http://cckk.tw/wordpress/?p=184</guid>
		<description><![CDATA[分享到Facebook mysqli 分為以下三個類別 mysqli:負責控制與mysql的連線,執行SQL查詢,執行select後會得到查詢結果 之mysql_result物件 mysqli_result:內含select的查詢結果 mysqli_stmt:用來定義執行參數化的SQL指令,需透過$mysqli-&#62;perpare建立mysql_stmt #建立連線 不可設定參數 $mysqli=new mysqli($mysqlhost,$mysqluser,$mysqlpassword,$mysqldb); #TEST連線是否成功 mysql_connect_errno() if (mysql_connect_errno()) {echo "&#60;p&#62; Sorry,無法連線&#60;/p&#62;"}; #close連線 $mysqli-&#62;close(); 設定參數用法 $mysqli=mysqli_init();  //建立mysqli物件 $mysqli-&#62;options(xxxxx); //設定連線選項(可省略) $mysqli-&#62;ssl_set(xxxx); //設定SSL選項(可省略) $mysqli-&#62;real_connect($mysqlhost,$mysqluser,$mysqlpassword,$mysqldb); //與mysql,建立連線 #執行SQL指令 $mysqli-&#62;query("insert into,update delete") $mysqli-&#62;affected_row //傳回更改筆數 $mysqli-&#62;insert_id //傳回insert 指令所產生之流水號 #select後回傳一個mysqli_result物件 $result-&#62;num_rows //查詢結果的資料筆數 $result-&#62;field_count //欄位數量 $mysqli-&#62;errno $mysqli-&#62;error //取得select時錯誤訊息 #select結果讀取 $row=$result-&#62;fetch_row(); //陣列形態,可用$row[$n]存取 $row=$result-&#62;fetch_array(); //關聯陣列,用$row[$n]或$row[$colname]存取 //,名稱區分大小寫 $row=$result-&#62;fetch_assoc(); //關聯陣列,只能用$row[$colname]存取 $row=$result-&#62;fetch_abject(); [...]]]></description>
		<wfw:commentRss>http://cckk.tw/wordpress/184/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Send MSN or Yahoo message from PHP</title>
		<link>http://cckk.tw/wordpress/176/</link>
		<comments>http://cckk.tw/wordpress/176/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 01:56:29 +0000</pubDate>
		<dc:creator>C.K.</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[MSN]]></category>
		<category><![CDATA[WLM]]></category>

		<guid isPermaLink="false">http://cckk.tw/wordpress/?p=176</guid>
		<description><![CDATA[分享到Facebook http://code.google.com/p/phpmsnclass/ 說明 MSN class for php, support MSNP9 (MSN 6.2) and MSNP15 (WLM 8.1), use asa bot or just send message to MSN or Yahoo (via MSN, you need Yahoo 8.1to communicate with MSN). Support OIM (offline message) if usingMSNP15. 系統需求 PHP 模組：curl, pcre, mhash, mcrypt, bcmath 至少兩組 MSN 帳號作傳訊測試 // 檢查 PHP 現有模組 [...]]]></description>
		<wfw:commentRss>http://cckk.tw/wordpress/176/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 6 的新特性</title>
		<link>http://cckk.tw/wordpress/142/</link>
		<comments>http://cckk.tw/wordpress/142/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 09:52:43 +0000</pubDate>
		<dc:creator>C.K.</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://cckk.tw/wordpress/?p=142</guid>
		<description><![CDATA[分享到Facebook PHP 6 的新特性 PHP的下一個版本，V6，包含了很的新特性和語法改進，會使它在面向對像方面性更易用。 其他重要的特性：比如在核心函數中對Unicode （統一編碼）的支援，這意味著 PHP 6提供了更好的更可靠國際支援。 PHP 已經很流行，被無數的網站使用，被大部分因特網接入商所支援，被Yahoo這樣的大網路公司使用著。在即將來臨的PHP版本中準備新增一些成功的新特性，使PHP在某些場合下更易用更安全。你準備好接受 PHP 6 了嗎？如果你明天就升級了，你的程式會執行得很好嗎？你該怎麼辦？這篇文章集合了PHP 6的改變，他們中的一些備份移植到版本的PHP v5.x，您目前的Script可能需要進行一些調整。 如果你現在使用不是PHP，但是一直在考慮它，考慮一下它的新特性。這些特點，從Unicode的核心支援到XML支援，使它更容易為你寫的功能填補PHP的應用。 PHP 6 新特性 PHP 6目前已經作為開發者快照使用，所以你可以下載和試用一下這篇文章列出很多特性，這些特性已經在目前的快照中實現了。見資源。 改進 Unicode 支援 在PHP的核心函數中，有很多對Unicode 字串的支援的改進，這些新特性將產生大幅度的影響因為它允許PHP為國際字元提供更多的支援。所以如果一個開發者或者架構師使用不同的語言，例如Java程式語言，是因為它具有超過PHP的國際化支援的話，當支援改進時他會花一點時間來考慮一下PHP。 因為今天你已經可以下載到開發者版本的 PHP V6，你將看到一些功能函數已經支援Unicode字串。有一個函數清單已經被測試和驗證了完全可以處理Unicode，參見資源。 命名空間 命名空間是一種避免因函數或者類之間的命名衝突而使你的函數和類以及方法無法讀取，而不使用前綴命名慣例的一種方法。因此，透過使用命名空間，你可以命名別人可能已經使用的類名，而不用擔心在執行時會出錯。表一提供了一個在PHP中使用命名空間的範例。 您不用在源程式碼中做更新或更改，因為你寫的任何PHP程式碼可以不包含命名空間而執行得很好。因為命名空間特性似乎會移植到PHP 5.3 X中，如果它可以使用，您可以在自己的程式中引用命名空間。 表一，命名空間範例 &#60; ?php // I'm not sure why I would implement my own XMLWriter, but at least // the name [...]]]></description>
		<wfw:commentRss>http://cckk.tw/wordpress/142/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

