<?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>DevLism~</title>
	<atom:link href="http://www.devlism.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.devlism.com</link>
	<description>Web Developer</description>
	<lastBuildDate>Wed, 28 Mar 2012 15:27:17 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>php array sort with key ที่ต้องการ</title>
		<link>http://www.devlism.com/php/php-array-sort-with-key-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%95%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b2%e0%b8%a3/</link>
		<comments>http://www.devlism.com/php/php-array-sort-with-key-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%95%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b2%e0%b8%a3/#comments</comments>
		<pubDate>Fri, 03 Feb 2012 10:37:14 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=62</guid>
		<description><![CDATA[&#60;?php function array_sort($array, $on, $order=SORT_ASC) { $new_array = array(); $sortable_array = array(); if (count($array) &#62; 0) { foreach ($array as $k =&#62; $v) { if (is_array($v)) { foreach ($v as $k2 =&#62; $v2) { if ($k2 == $on) { $sortable_array[$k] = $v2; } } } else { $sortable_array[$k] = $v; } } switch ($order) { [...]]]></description>
		<wfw:commentRss>http://www.devlism.com/php/php-array-sort-with-key-%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%95%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b2%e0%b8%a3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ความแตกต่างของ libraries , helpers และ third_party ใน codeigniter</title>
		<link>http://www.devlism.com/php/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%82%e0%b8%ad%e0%b8%87-libraries-helpers-%e0%b9%81%e0%b8%a5%e0%b8%b0-third_party-%e0%b9%83%e0%b8%99-codeigniter/</link>
		<comments>http://www.devlism.com/php/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%82%e0%b8%ad%e0%b8%87-libraries-helpers-%e0%b9%81%e0%b8%a5%e0%b8%b0-third_party-%e0%b9%83%e0%b8%99-codeigniter/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 03:52:10 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[Codeigniter]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[codeigniter]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=56</guid>
		<description><![CDATA[libraries : Utility classes where object state is important (payment gateways, authentication, etc.) helpers : Collections of related functions (not classes) that do repetitive tasks (strings, arrays, etc.) third_party : Typically, the whole process is called with a single wrapper function.]]></description>
		<wfw:commentRss>http://www.devlism.com/php/%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b9%81%e0%b8%95%e0%b8%81%e0%b8%95%e0%b9%88%e0%b8%b2%e0%b8%87%e0%b8%82%e0%b8%ad%e0%b8%87-libraries-helpers-%e0%b9%81%e0%b8%a5%e0%b8%b0-third_party-%e0%b9%83%e0%b8%99-codeigniter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>function copy folder และทุกไฟล์ที่อยู่ใน folder</title>
		<link>http://www.devlism.com/php/function-copy-folder-%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%97%e0%b8%b8%e0%b8%81%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%ad%e0%b8%a2%e0%b8%b9%e0%b9%88%e0%b9%83%e0%b8%99-folder/</link>
		<comments>http://www.devlism.com/php/function-copy-folder-%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%97%e0%b8%b8%e0%b8%81%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%ad%e0%b8%a2%e0%b8%b9%e0%b9%88%e0%b9%83%e0%b8%99-folder/#comments</comments>
		<pubDate>Thu, 06 Oct 2011 14:26:57 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=47</guid>
		<description><![CDATA[function copydir($source,$destination){ if(!file_exists($destination)){ mkdir($destination, 01777); // so you get the sticky bit set } $dir_handle = @opendir($source) or die("Unable to open"); while ($file = readdir($dir_handle)){ if($file!="." &#038;&#038; $file!=".." &#038;&#038; $file!=".svn"){ if(is_dir("$source/$file")){ copydir("$source/$file","$destination/$file"); }else{ copy("$source/$file","$destination/$file"); } } } closedir($dir_handle); }]]></description>
		<wfw:commentRss>http://www.devlism.com/php/function-copy-folder-%e0%b9%81%e0%b8%a5%e0%b8%b0%e0%b8%97%e0%b8%b8%e0%b8%81%e0%b9%84%e0%b8%9f%e0%b8%a5%e0%b9%8c%e0%b8%97%e0%b8%b5%e0%b9%88%e0%b8%ad%e0%b8%a2%e0%b8%b9%e0%b9%88%e0%b9%83%e0%b8%99-folder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>error &#8220;language string failed to load: from_failed&#8230;&#8221; ของ PHPMailer</title>
		<link>http://www.devlism.com/php/error-language-string-failed-to-load-from_failed-%e0%b8%82%e0%b8%ad%e0%b8%87-phpmailer/</link>
		<comments>http://www.devlism.com/php/error-language-string-failed-to-load-from_failed-%e0%b8%82%e0%b8%ad%e0%b8%87-phpmailer/#comments</comments>
		<pubDate>Mon, 26 Sep 2011 07:52:11 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[PHPMailer]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=43</guid>
		<description><![CDATA[จะเจอปัญหานี้ เมื่อส่งผ่าน SMTP โดยใช้ AddReplyTo ด้วย เหตุผลเนื่องมาจากบางโฮส ได้ตั้งค่าความปลอดภัยไว้ให้อีเมล์ที่ใช้ login SMTP SERVER และ  อีเมล์ที่ใช้ AddReplyTo  ต้องเหมือนกัน แค่แก้ให้เหมือนกัน ก็ใช้ได้แล้วครับ ^^]]></description>
		<wfw:commentRss>http://www.devlism.com/php/error-language-string-failed-to-load-from_failed-%e0%b8%82%e0%b8%ad%e0%b8%87-phpmailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ฟังก์ชั่นตัดข้อความภาษาไทยด้วย substrใน php</title>
		<link>http://www.devlism.com/php/%e0%b8%9f%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b9%8c%e0%b8%8a%e0%b8%b1%e0%b9%88%e0%b8%99%e0%b8%95%e0%b8%b1%e0%b8%94%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a0%e0%b8%b2%e0%b8%a9/</link>
		<comments>http://www.devlism.com/php/%e0%b8%9f%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b9%8c%e0%b8%8a%e0%b8%b1%e0%b9%88%e0%b8%99%e0%b8%95%e0%b8%b1%e0%b8%94%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a0%e0%b8%b2%e0%b8%a9/#comments</comments>
		<pubDate>Fri, 03 Jun 2011 09:29:17 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=29</guid>
		<description><![CDATA[ใช้ตัดข้อความจากฐานข้อมูลที่ต้องการแสดงบางส่วนเช่น 30 ตัวอักษร กรณีบางครั้งภาษาไทยที่ตัดจากฐานข้อมูล จะแสดงเป็นรูปสี่เหลี่ยม ใช้ฟังก์ชันนี่แทน substr ใน php แก้ปัญหาที่เกิดได้ แบบที่ 1 &#60;?php function substr_utf8( $str, $start_p , $len_p){ return preg_replace( &#039;#^(?:[\x00-\x7F]&#124;[\xC0-\xFF][\x80-\xBF]+){0,&#039;.$start_p.&#039;}&#039;. &#039;((?:[\x00-\x7F]&#124;[\xC0-\xFF][\x80-\xBF]+){0,&#039;.$len_p.&#039;}).*#s&#039;, &#039;$1&#039; , $str ); }; // การใช้งาน // $start_p คือตำแหน่งเริ่มต้นตัดข้อความ // $len_p คือจำนวนตัวอักษรที่ต้องการแสดง // $data=&#34;ข้อความทดสอบ ข้อความทดสอบ ข้อความทดสอบ ข้อความทดสอบข้อความทดสอบ &#34;; // echo substr_utf8($data,0,30); แบบที่ 2 &#60;?php function utf8_substr($str,$start_p,$len_p) { preg_match_all(&#34;/./u&#34;, $str, $ar); if(func_num_args() [...]]]></description>
		<wfw:commentRss>http://www.devlism.com/php/%e0%b8%9f%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b9%8c%e0%b8%8a%e0%b8%b1%e0%b9%88%e0%b8%99%e0%b8%95%e0%b8%b1%e0%b8%94%e0%b8%82%e0%b9%89%e0%b8%ad%e0%b8%84%e0%b8%a7%e0%b8%b2%e0%b8%a1%e0%b8%a0%e0%b8%b2%e0%b8%a9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ฟังก์ชั่น php ลบไดเรคทอรี และไฟล์ทั้งหมดที่อยู่ในไดเรคทอรี (รวมไดเรคทอรีย่อยด้วย)</title>
		<link>http://www.devlism.com/php/%e0%b8%9f%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b9%8c%e0%b8%8a%e0%b8%b1%e0%b9%88%e0%b8%99-php-%e0%b8%a5%e0%b8%9a%e0%b9%84%e0%b8%94%e0%b9%80%e0%b8%a3%e0%b8%84%e0%b8%97%e0%b8%ad%e0%b8%a3%e0%b8%b5/</link>
		<comments>http://www.devlism.com/php/%e0%b8%9f%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b9%8c%e0%b8%8a%e0%b8%b1%e0%b9%88%e0%b8%99-php-%e0%b8%a5%e0%b8%9a%e0%b9%84%e0%b8%94%e0%b9%80%e0%b8%a3%e0%b8%84%e0%b8%97%e0%b8%ad%e0%b8%a3%e0%b8%b5/#comments</comments>
		<pubDate>Fri, 22 Oct 2010 04:22:23 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=8</guid>
		<description><![CDATA[&#60;?php function remove_dir($dir) { if(is_dir($dir)) { $dir = (substr($dir, -1) != "/")? $dir."/":$dir; $openDir = opendir($dir); while($file = readdir($openDir)) { if(!in_array($file, array(".", ".."))) { if(!is_dir($dir.$file)) { unlink($dir.$file); } else { remove_dir($dir.$file); } } } closedir($openDir); rmdir($dir); } } ?&#62; ที่มา http://php.deeserver.net/phpbb/viewtopic.php?p=2529&#38;sid=96e5445f9ddd72919ae74a289515e9b4#p2529]]></description>
		<wfw:commentRss>http://www.devlism.com/php/%e0%b8%9f%e0%b8%b1%e0%b8%87%e0%b8%81%e0%b9%8c%e0%b8%8a%e0%b8%b1%e0%b9%88%e0%b8%99-php-%e0%b8%a5%e0%b8%9a%e0%b9%84%e0%b8%94%e0%b9%80%e0%b8%a3%e0%b8%84%e0%b8%97%e0%b8%ad%e0%b8%a3%e0%b8%b5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hello world!</title>
		<link>http://www.devlism.com/uncategorized/hello-world/</link>
		<comments>http://www.devlism.com/uncategorized/hello-world/#comments</comments>
		<pubDate>Sat, 26 Jun 2010 07:52:14 +0000</pubDate>
		<dc:creator>golfer007</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.devlism.com/?p=1</guid>
		<description><![CDATA[Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! download: Msnscript Index File (4.87KB) added: 02/07/2010 clicks: 367 description: Msnscript Index File]]></description>
		<wfw:commentRss>http://www.devlism.com/uncategorized/hello-world/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

