<?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"
	>

<channel>
	<title>Đỗ Nam Khánh weblog</title>
	<atom:link href="http://donamkhanh.com/feed" rel="self" type="application/rss+xml" />
	<link>http://donamkhanh.com</link>
	<description>Tích góp kinh nghiệm - Nhặt nhạnh kỹ năng...</description>
	<pubDate>Fri, 03 Jul 2009 15:34:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.5</generator>
	<language>en</language>
			<item>
		<title>Stupid IE???</title>
		<link>http://donamkhanh.com/2009/07/03/stupid-ie.html</link>
		<comments>http://donamkhanh.com/2009/07/03/stupid-ie.html#comments</comments>
		<pubDate>Fri, 03 Jul 2009 15:34:46 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[Linh tinh]]></category>

		<category><![CDATA[Learning English]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=174</guid>
		<description><![CDATA[Today, a colleague asked me: &#8220;how to download file with docx extension (MS Word 2007) in IE6?&#8221; because IE automatic changes the .docx to .zip. I thought to solve this problem very easy by directly link download but I&#8217;m wrong  It seems a IE bug??? So I recommend him that he should use PHP [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/07/03/stupid-ie.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Bypass new rapidshare download countdown</title>
		<link>http://donamkhanh.com/2009/07/03/bypass-new-rapidshare-download-countdown.html</link>
		<comments>http://donamkhanh.com/2009/07/03/bypass-new-rapidshare-download-countdown.html#comments</comments>
		<pubDate>Fri, 03 Jul 2009 09:31:47 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=171</guid>
		<description><![CDATA[Simply drag this link
to your bookmark, when rapidshare counter start, click it once. It will
reset the download counter so you can start downloading without having
to wait for the countdown to finish.
Before download start (for free)

[-]?View Code JAVASCRIPT1
javascript:document.ff.action = window.location + '#dlt';void&#40;0&#41;;

Then on next page when the counting start

[-]?View Code JAVASCRIPT1
javascript:c=0;void&#40;0&#41;;

Source: kaizeku.com










]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/07/03/bypass-new-rapidshare-download-countdown.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Create short IDs with PHP - Like Youtube or TinyURL</title>
		<link>http://donamkhanh.com/2009/06/13/create-short-ids-with-php-like-youtube-or-tinyurl.html</link>
		<comments>http://donamkhanh.com/2009/06/13/create-short-ids-with-php-like-youtube-or-tinyurl.html#comments</comments>
		<pubDate>Sat, 13 Jun 2009 06:07:49 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=168</guid>
		<description><![CDATA[IDs are often numbers. Unfortunately there are only 10 digits to work with, so if you have a lot of records, IDs tend to get very lengthy. For computers that&#8217;s OK. ButOther title options where

How to create unique short string IDs with PHP &#38; MySQL
 Or how to create IDs similar to YouTube e.g. yzNjIBEdyww

I [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/06/13/create-short-ids-with-php-like-youtube-or-tinyurl.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>PHP Fatal error</title>
		<link>http://donamkhanh.com/2009/04/13/php-fatal-error.html</link>
		<comments>http://donamkhanh.com/2009/04/13/php-fatal-error.html#comments</comments>
		<pubDate>Mon, 13 Apr 2009 03:22:26 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=163</guid>
		<description><![CDATA[Trong 1 dự án gặp đến 2 lỗi có thể nói là nghiêm trọng  

Cannot use object of type __PHP_Incomplete_Class as array
406 Not Acceptable

Lỗi thứ nhất &#8220;thường&#8221; xảy ra ở khu vực tương tự như sau:

[-]?View Code PHP1
2
3
4
5
6
   $user = isset&#40;$_SESSION&#91;'user'&#93;&#41;?$_SESSION&#91;'user'&#93;:'';
   if &#40;$user&#91;'user_id'&#93;&#60;0 &#124;&#124; $user&#91;'user_id'&#93; == ''&#41;
   &#123;
 [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/04/13/php-fatal-error.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>is_dir vs file_exists</title>
		<link>http://donamkhanh.com/2009/03/17/is_dir-vs-file_exists.html</link>
		<comments>http://donamkhanh.com/2009/03/17/is_dir-vs-file_exists.html#comments</comments>
		<pubDate>Tue, 17 Mar 2009 16:10:43 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=159</guid>
		<description><![CDATA[Hôm nay ở cty anh Linh đã hỏi có ai biết hàm kiểm tra thư mục đã tồn tại hay chưa không? (anh ấy đang làm cái liên quan đến theme thì phải :-?). Theo phản xạ tôi bật ngay ra hàm is_dir, ngay lúc đấy chỉ biết hàm is_dir là kiểm tra xem tên [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/03/17/is_dir-vs-file_exists.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;Một nghề cho chín còn hơn chín nghề&#8221;</title>
		<link>http://donamkhanh.com/2009/01/18/mot-nghe-cho-chin-con-hon-chin-nghe.html</link>
		<comments>http://donamkhanh.com/2009/01/18/mot-nghe-cho-chin-con-hon-chin-nghe.html#comments</comments>
		<pubDate>Sun, 18 Jan 2009 15:13:33 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[Bài viết hay]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=152</guid>
		<description><![CDATA[Tự nhiên lại nhớ đến blog của Thái nên vào &#38; đọc được 1 bài khá thú vị. Nó đã giúp &#8220;chỉnh đốn&#8221; lại phần nào tư tưởng của mình trong thời gian khó khăn này  
người ta nói, cách tốt nhất để ăn một con voi, là ăn một miếng thịt của nó [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/01/18/mot-nghe-cho-chin-con-hon-chin-nghe.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>SELECT BINARY trong MySQL</title>
		<link>http://donamkhanh.com/2009/01/05/select-binary-trong-mysql.html</link>
		<comments>http://donamkhanh.com/2009/01/05/select-binary-trong-mysql.html#comments</comments>
		<pubDate>Mon, 05 Jan 2009 08:07:24 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[MySQL]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=149</guid>
		<description><![CDATA[Hôm nay được chị tester thông báo 1 bug: Khi user login thì hệ thống không phân biệt username &#38; password dạng chữ hoa, chữ thường  
Câu query chỉ đơn giản là:

[-]?View Code SQL1
2
3
4
SELECT user_login	
FROM sys_user 
WHERE user_login = '$user_login' 
          AND user_passwd = '$password'

Hóa [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2009/01/05/select-binary-trong-mysql.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Generate data</title>
		<link>http://donamkhanh.com/2008/12/21/generate-data.html</link>
		<comments>http://donamkhanh.com/2008/12/21/generate-data.html#comments</comments>
		<pubDate>Sun, 21 Dec 2008 14:11:42 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[Trick]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=141</guid>
		<description><![CDATA[Trước đây từng hơi bí với việc test performance với lượng dữ liệu lớn vì phía khách hàng họ &#8220;gợi ý&#8221; là dữ liệu tuy là để test nhưng cũng phải &#8220;đẹp&#8221; nữa, và họ không thích kiểu tên nhân viên có dạng như: employee 1, employee 2&#8230;
Hôm qua chả hiểu lang thang thế nào [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2008/12/21/generate-data.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>Accept only positive number using Jquery</title>
		<link>http://donamkhanh.com/2008/12/20/accept-only-positive-number-using-jquery.html</link>
		<comments>http://donamkhanh.com/2008/12/20/accept-only-positive-number-using-jquery.html#comments</comments>
		<pubDate>Sat, 20 Dec 2008 16:41:39 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=139</guid>
		<description><![CDATA[Có thể sử dụng Event Handling hoặc Event Helper. Tất nhiên là sử dụng Event Helper thì ngắn hơn rồi  

[-]?View Code JAVASCRIPT1
2
3
4
5
6
7
8
9
10
11
//when key is pressed in the textbox
$&#40;&#34;#quantity&#34;&#41;.keypress&#40;function &#40;e&#41;
&#123;
  //if the letter is not digit then display error and don't type anything
  if&#40; e.which!=8 &#38;&#38; e.which!=0 &#38;&#38; &#40;e.which&#60;48 &#124;&#124; e.which&#62;57&#41;&#41;
  [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2008/12/20/accept-only-positive-number-using-jquery.html/feed</wfw:commentRss>
		</item>
		<item>
		<title>General Style and Syntax in CodeIgniter</title>
		<link>http://donamkhanh.com/2008/11/24/general-style-and-syntax-in-codeigniter.html</link>
		<comments>http://donamkhanh.com/2008/11/24/general-style-and-syntax-in-codeigniter.html#comments</comments>
		<pubDate>Mon, 24 Nov 2008 05:15:28 +0000</pubDate>
		<dc:creator>Đỗ Nam Khánh</dc:creator>
		
		<category><![CDATA[CodeIgniter]]></category>

		<guid isPermaLink="false">http://donamkhanh.com/?p=132</guid>
		<description><![CDATA[http://codeigniter.com/user_guide/general/styleguide.html
Tạm đặt cái title đã, còn nhiều vấn đề với thằng này  
PHP Closing Tag
Trong PHP có thể bỏ qua thẻ đóng ?>, điều này tránh được những lỗi vớ vẩn do bị output thừa  Cái này chuẩn, không có gì phải bàn cả. Tuy nhiên 1 số IDE hơi man mát, phải [...]]]></description>
		<wfw:commentRss>http://donamkhanh.com/2008/11/24/general-style-and-syntax-in-codeigniter.html/feed</wfw:commentRss>
		</item>
	</channel>
</rss>
