<?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>สุดเดช บล๊อก &#187; file</title>
	<atom:link href="http://blog.sudej.com/tag/file/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.sudej.com</link>
	<description>ก็เวลายังไม่เดินเป็นเส้นตรง แล้วความรักที่มั่นคงจะมีจริงไหม?</description>
	<lastBuildDate>Thu, 02 Sep 2010 11:37:16 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>php read file and directory</title>
		<link>http://blog.sudej.com/2009/06/php-read-file-and-directory/</link>
		<comments>http://blog.sudej.com/2009/06/php-read-file-and-directory/#comments</comments>
		<pubDate>Sat, 27 Jun 2009 16:22:01 +0000</pubDate>
		<dc:creator>สุดเดช</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[file]]></category>

		<guid isPermaLink="false">http://blog.sudej.com/?p=723</guid>
		<description><![CDATA[วันนี้ก็มาแจกโค้ดกันอีกแ้ล้วน่ะคับพี่น้อง เรื่องของการ ใช้ PHP เข้าไป อ่านไฟล์ และ Directory น่ะคับ โ้ค้ดก็ตามนี้คับผม &#60;? $i=1; $countdir=0; $uncountdir=0; if ($handle = opendir('.')) { while (false !== ($file = readdir($handle))) { $color=($i%2==0)?&#34;#999999&#34;:&#34;#000000&#34;; $number=filesize($file)/1024; $size=number_format($number,'2','.',','); if($size&#60;&#34;1000&#34; &#38;&#38; $file!==&#34;images&#34; &#38;&#38; $file!==&#34;css&#34; &#38;&#38; $file!==&#34;index.php&#34; &#38;&#38; $file!==&#34;sudej&#34;){ // กำหนดไม่เอาไฟล์แสดง if ($file != &#34;.&#34; &#38;&#38; $file != &#34;..&#34;) { echo &#34;&#60;a href=\&#34;$file\&#34;&#62;$file&#60;/a&#62;&#38;nbsp;$size&#38;nbsp;KB&#34;; $i++; $countdir++; } [...]]]></description>
		<wfw:commentRss>http://blog.sudej.com/2009/06/php-read-file-and-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
<!-- WP Super Cache is installed but broken. The path to wp-cache-phase1.php in wp-content/advanced-cache.php must be fixed! -->