<?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>EveryThing On MyCOOLs</title>
	<atom:link href="http://www.mycools.in.th/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mycools.in.th</link>
	<description>ยิ่งกว่าการเป็นโปรแกรมเมอร์ คือการก้าวไปข้างหน้าอย่างไม่หยุดยั้ง</description>
	<lastBuildDate>Wed, 29 Jun 2011 17:32:55 +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>เพิ่ม HDD ลูกใหม่ลงใน Linux</title>
		<link>http://www.mycools.in.th/archives/487/%e0%b9%80%e0%b8%9e%e0%b8%b4%e0%b9%88%e0%b8%a1-hdd-%e0%b8%a5%e0%b8%b9%e0%b8%81%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88%e0%b8%a5%e0%b8%87%e0%b9%83%e0%b8%99-linux/</link>
		<comments>http://www.mycools.in.th/archives/487/%e0%b9%80%e0%b8%9e%e0%b8%b4%e0%b9%88%e0%b8%a1-hdd-%e0%b8%a5%e0%b8%b9%e0%b8%81%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88%e0%b8%a5%e0%b8%87%e0%b9%83%e0%b8%99-linux/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 17:32:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=487</guid>
		<description><![CDATA[1.shutdown 2.เสียบ hd 3. เราเช็คก่อนว่า HDD ใหม่ของเรามันลูกใหนด้วย /sbin/fdisk -l 4.พิม fdisk /dev/xxx ตามแต่ harddisk 5.กด n (new) &#62; p (primary) &#62; 1 &#62; enter ไปเรื่อยๆ มันก้อจะ แบ่ง hd 1 partition โดยเริ่มตั้งแต่ cy แรก ถึงสุดท้าย 6.กด w เสร็จละ 7.สั่ง mkfs -t ext3 /dev/xxx1 รอจนมันเสร็จ 8. สร้าง folder เปล่า mkdir /disk2 8.แก้ /etc/fstab ว่า /dev/xxx1      [...]]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/487/%e0%b9%80%e0%b8%9e%e0%b8%b4%e0%b9%88%e0%b8%a1-hdd-%e0%b8%a5%e0%b8%b9%e0%b8%81%e0%b9%83%e0%b8%ab%e0%b8%a1%e0%b9%88%e0%b8%a5%e0%b8%87%e0%b9%83%e0%b8%99-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Creating a SSL certificate On Linux</title>
		<link>http://www.mycools.in.th/archives/480/creating-a-ssl-certificate-on-linux/</link>
		<comments>http://www.mycools.in.th/archives/480/creating-a-ssl-certificate-on-linux/#comments</comments>
		<pubDate>Thu, 16 Jun 2011 09:54:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=480</guid>
		<description><![CDATA[cd /usr/local/etc/apache22 openssl genrsa -des3 -out server.key 1024 openssl req -new -key server.key -out server.csr openssl x509 -req -days 3650 -in server.csr -signkey server.key -out server.crt chmod 0400 /usr/local/etc/apache22/server.key chmod 0400 /usr/local/etc/apache22/server.crt cd /usr/local/etc/apache22 cp server.key server.key.orig openssl rsa -in server.key.orig -out server.key]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/480/creating-a-ssl-certificate-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First day Freshy @ hatyai university</title>
		<link>http://www.mycools.in.th/archives/477/first-day-freshy-hatyai-university/</link>
		<comments>http://www.mycools.in.th/archives/477/first-day-freshy-hatyai-university/#comments</comments>
		<pubDate>Sat, 04 Jun 2011 10:34:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[เรื่อยเปี่อย]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/archives/477/first-day-freshy-hatyai-university/</guid>
		<description><![CDATA[คงสงสัยกันพักใหญ่อะไรที่ม.หาดใหญ่  อิอิ กั๊กไว้ก่อนดีกว่า วันนี้ถึงขั้นต้องโดดงานทั้งที่เป๋นวันหยุด แต่ boss. ให้มาทำงานชด แต่มันไม่ว่างหนิให้ทำไงเนอะ ยังไงการศึกษาก็เป็นเรื่องดีหนิ  อิอิ]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/477/first-day-freshy-hatyai-university/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>วิธีป้องกัน SQL injection ของ PHP ครับ</title>
		<link>http://www.mycools.in.th/archives/473/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-sql-injection-%e0%b8%82%e0%b8%ad%e0%b8%87-php-%e0%b8%84%e0%b8%a3%e0%b8%b1%e0%b8%9a/</link>
		<comments>http://www.mycools.in.th/archives/473/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-sql-injection-%e0%b8%82%e0%b8%ad%e0%b8%87-php-%e0%b8%84%e0%b8%a3%e0%b8%b1%e0%b8%9a/#comments</comments>
		<pubDate>Wed, 25 May 2011 01:49:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=473</guid>
		<description><![CDATA[SQL Injection คือ การที่ในเวปมีการรับข้อมูลจากผู้ใช้ แล้วนำไปใช้ในการสั่งให้ฐานข้อมูลทำงาน แล้ว ผู้ใช้พยายามที่จะหลอกโปรแกรมให้ทำงานนอกเหนือจากที่เราต้องการ หรือ หลอกให้โปรแกรมทำงานโดยผ่านการตรวจสอบเงื่อนไขบางอย่าง Injection Flaws หมายถึง แฮกเกอร์สามารถที่จะแทรก Malicious Code หรือ คำสั่งที่แฮกเกอร์ใช้ในการเจาะระบบส่งผ่าน Web Application ไปยังระบบภายนอกที่เราเชื่อมต่ออยู่ เช่น ระบบฐานข้อมูล SQL โดยวิธี SQL Injection หรือ เรียก External Program ผ่าน shell command ของระบบปฎิบัติการ เป็นต้น ส่วนใหญ่แล้วแฮกเกอร์จะใช้วิธีนี้ในช่วงการทำ Authentication หรือการ Login เข้าระบบผ่านทาง Web Application เช่น Web Site บางแห่งชอบใช้ &#8220;/admin&#8221; ในการเข้าสู่หน้า Admin ของ ระบบ ซึ่งเป็นช่องโหว่ให้แฮกเกอร์สามารถเดาได้เลยว่า เราใช้ http://www.mycompany.com/admin ในการเข้าไปจัดการบริหาร Web [...]]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/473/%e0%b8%a7%e0%b8%b4%e0%b8%98%e0%b8%b5%e0%b8%9b%e0%b9%89%e0%b8%ad%e0%b8%87%e0%b8%81%e0%b8%b1%e0%b8%99-sql-injection-%e0%b8%82%e0%b8%ad%e0%b8%87-php-%e0%b8%84%e0%b8%a3%e0%b8%b1%e0%b8%9a/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>เปลี่ยน repository จากต่างประเทศมาที่ประเทศไทย สำหรับ centos 5 นะครับ</title>
		<link>http://www.mycools.in.th/archives/471/repos-%e0%b9%84%e0%b8%97%e0%b8%a2-centos-5/</link>
		<comments>http://www.mycools.in.th/archives/471/repos-%e0%b9%84%e0%b8%97%e0%b8%a2-centos-5/#comments</comments>
		<pubDate>Wed, 25 May 2011 01:32:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=471</guid>
		<description><![CDATA[เปลี่ยน repository จากต่างประเทศมาที่ประเทศไทยของ ม.เกษตร ครับจะได้ yum กันได้รวดเร็ว สำหรับ centos 5 นะครับ # cd /etc/yum.repos.d/ # mv CentOS-Base.repo CentOS-Base.repo.bak # wget http://mirror1.ku.ac.th/yum-centos/5/CentOS-Base.repo # yum -y update แค่นี้เราก็จะได้ใช้งาน repository ของไทยแล้ว]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/471/repos-%e0%b9%84%e0%b8%97%e0%b8%a2-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 5.3 เปลี่ยนอะไรบ้าง (php version 5.3.x)</title>
		<link>http://www.mycools.in.th/archives/468/php-5-3-%e0%b9%80%e0%b8%9b%e0%b8%a5%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%99%e0%b8%ad%e0%b8%b0%e0%b9%84%e0%b8%a3%e0%b8%9a%e0%b9%89%e0%b8%b2%e0%b8%87-php-version-5-3-x/</link>
		<comments>http://www.mycools.in.th/archives/468/php-5-3-%e0%b9%80%e0%b8%9b%e0%b8%a5%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%99%e0%b8%ad%e0%b8%b0%e0%b9%84%e0%b8%a3%e0%b8%9a%e0%b9%89%e0%b8%b2%e0%b8%87-php-version-5-3-x/#comments</comments>
		<pubDate>Wed, 11 May 2011 01:37:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Programing]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=468</guid>
		<description><![CDATA[สวัสดีครับ ช่วงนี้ต้องรวบรวมข้อมูลสำหรับทำงาน เลยถือโอกาสเขียนเป็นบทความเอาไว้ให้หลายๆท่านได้อ่านกัน ที่จริงแล้วส่วนนี้มีคนเขียนไว้ค่อนข้างจะเยอะครับ ลอง search ดูก็น่าจะเจอเยอะอยู่เหมือนกันครับ และคำอธิบายก็จะไกล้ๆเคียงกัน เพราะที่มาก็มาจาก php.net เหมือนกันเกือบทั้งหมดครับ บางที่ก็ไป copy เขามาต่อๆกันไป สำหรับบทความใน siammodify นี้หากผู้ใด copy ไปช่วยติดลิ้งค์กลับด้วยนะครับ php function บางตัวที่จะถูกตัดออกไปใน php version 5.3 call_user_method() call_user_method_array() defin_syslog_variables() dl() ereg() ereg_replace() eregi() eregi_replace() set_magic_quotes_runtime() session_register() session_unregister() session_is_register() set_socket_blocking() split() spliti() sql_regcase() mysql_db_query() mysql_escape_string() ตัวอย่าง erigi() become =&#62; preg_match(‘/theregex/i’) or =&#62; preg_match(‘#theregex#i’) ereg_replace become =&#62; preg_replace(‘/theregex/’) [...]]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/468/php-5-3-%e0%b9%80%e0%b8%9b%e0%b8%a5%e0%b8%b5%e0%b9%88%e0%b8%a2%e0%b8%99%e0%b8%ad%e0%b8%b0%e0%b9%84%e0%b8%a3%e0%b8%9a%e0%b9%89%e0%b8%b2%e0%b8%87-php-version-5-3-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ลบ IP BlackList ใน DA</title>
		<link>http://www.mycools.in.th/archives/464/%e0%b8%a5%e0%b8%9a-ip-blacklist-%e0%b9%83%e0%b8%99-directadmin/</link>
		<comments>http://www.mycools.in.th/archives/464/%e0%b8%a5%e0%b8%9a-ip-blacklist-%e0%b9%83%e0%b8%99-directadmin/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 02:38:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=464</guid>
		<description><![CDATA[ลบ IP BlackList ใน DA nano /usr/local/directadmin/data/admin/ip_blacklist หาไอพีที่ต้องการลบ แล้ว CTRL+K จากนั้นก็ CTRL+X พิมพ์ y แล้วกด Enter จบ &#160;]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/464/%e0%b8%a5%e0%b8%9a-ip-blacklist-%e0%b9%83%e0%b8%99-directadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade PHP 5.2 For CentOS</title>
		<link>http://www.mycools.in.th/archives/459/upgrade-php-5-2-for-centos/</link>
		<comments>http://www.mycools.in.th/archives/459/upgrade-php-5-2-for-centos/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 09:37:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=459</guid>
		<description><![CDATA[Upgrade PHP 5.2 For CentOS # wget http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-4.noarch.rpm # wget http://rpms.famillecollet.com/enterprise/remi-release-5.rpm # rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm # yum &#8211;enablerepo=remi update php # service httpd restart]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/459/upgrade-php-5-2-for-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>สร้าง Storage Server ง่ายๆ ด้วย FreeNAS</title>
		<link>http://www.mycools.in.th/archives/457/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-storage-server-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b9%86-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-freenas/</link>
		<comments>http://www.mycools.in.th/archives/457/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-storage-server-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b9%86-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-freenas/#comments</comments>
		<pubDate>Tue, 19 Apr 2011 14:30:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=457</guid>
		<description><![CDATA[เดี๋ยวนี้เดินตามร้านคอมพิวเตอร์เริ่มมีอุปกรณ์ประเภท NAS (Network Attached Storage Server) ขายเป็น box สำเร็จรูป เพื่อผู้ใช้นำไปสำรองข้อมูล แชร์ไฟล์ได้หลายเครื่อง แถมบางยี่ห้อสามารถรันโปรแกรม BitTorrent เพื่อโหลดไฟล์ได้ แทนที่จะซื้อ box ใหม่ ลองหาเครื่องเก่าๆ ที่ยังพอใช้งานได้อยู่ หากขนาดพื้นที่ดิสก์เก่าไม่พอ ก็ซื้อเฉพาะฮาร์ดดิสก์เท่านั้น แล้วติดตั้งโปรแกรม FreeNAS ภายในไม่ถึง10 นาที (ไม่รวมเวลาดาวน์โหลดไฟล์ iso ขนาด 130 กว่า MB นะ) คุณก็จะได้ Storage Server ไว้ใช้ อย่างง่ายดาย คุณสมบัติ (features) เพียบ… คำเตือน FreeNAS จะล้าง (Format) ข้อมูลทั้งหมดในดิสก์ของเครื่อง การทดลองรันแบบ LiveCD ค่าคอนฟิกที่สร้างทั้งหมดจะหายไป เมื่อมีการรีบู๊ตหรือปิดเครื่อง FreeNAS เป็นโปรแกรม Open Source พัฒนาขึ้นมาบน FreeBSD [...]]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/457/%e0%b8%aa%e0%b8%a3%e0%b9%89%e0%b8%b2%e0%b8%87-storage-server-%e0%b8%87%e0%b9%88%e0%b8%b2%e0%b8%a2%e0%b9%86-%e0%b8%94%e0%b9%89%e0%b8%a7%e0%b8%a2-freenas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP แปลงตัวหนังสือปนตัวเลขให้เป็นตัวเลข</title>
		<link>http://www.mycools.in.th/archives/453/php-intval/</link>
		<comments>http://www.mycools.in.th/archives/453/php-intval/#comments</comments>
		<pubDate>Sun, 17 Apr 2011 04:02:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP Programing]]></category>

		<guid isPermaLink="false">http://www.mycools.in.th/?p=453</guid>
		<description><![CDATA[ตัวหนังสือปนตัวเลข ก็คือแบบนี้ เป็นเงิน 10 บาท เงินสด 1,000 คัดลอกไปที่คลิปบอร์ด ในกรณีเราต้องการแปลงตัวเลขเป็นตัวหนังสือให้ได้มาเฉพาะตัวเลขอย่างเดียว เราสามารถใช้ฟังก์ชั่น intval() แปลง $string = &#8220;10 บาท&#8221;; $integer = intval( $string ); // ผลลัพธ์ที่ได้คือ 10 คัดลอกไปที่คลิปบอร์ด หรือใช้ Casttype ก็ได้ $string = &#8220;10 บาท&#8221;; $integer = (int)( $string ); // ผลลัพธ์ที่ได้คือ 10 คัดลอกไปที่คลิปบอร์ด แต่ถ้าเราต้องการจะแปลงตัวหนังสือปนตัวเลขให้ได้เฉพาะตัวเลข เราใช้สองวิธีดังกล่่าวมา ไม่ได้ เพราะมันจะคืนค่ากลับมาเป็น 0 เสมอ อย่าเชื่อผม ขอให้ทดสอบด้วยตัวเอง สาเหตุที่เป็นเช่นนั้นเพราะ สองคำสั่งนั้นมันจะมองไล่ตัวอักษรไปทีละตัว ถ้าตัวแรกไม่ใช่ตัวเลขเสียแล้ว มัีนก็คืนค่าเป็น 0 มาทันที [...]]]></description>
		<wfw:commentRss>http://www.mycools.in.th/archives/453/php-intval/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

