<?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>.:As*** - As247:. &#187; Ajax</title>
	<atom:link href="http://as247.vui360.com/blog/tag/ajax/feed/" rel="self" type="application/rss+xml" />
	<link>http://as247.vui360.com/blog</link>
	<description>Welcome to Thế Anh&#039;s blog</description>
	<lastBuildDate>Tue, 20 Dec 2011 02:30:36 +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>AsF4w &#8211; Firewall for website</title>
		<link>http://as247.vui360.com/blog/asf4w/</link>
		<comments>http://as247.vui360.com/blog/asf4w/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 17:29:42 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Kinh nghiệm]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[AsF]]></category>
		<category><![CDATA[Asf4w]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=769</guid>
		<description><![CDATA[Mới hí hoáy code được cái này chả biết nên gọi là cái gì, cứ tạm gọi nó là firewall dành cho web site đi Dựa vào 1 đặc điểm mà mình nghĩ là chỉ có trình duyệt mới có đó là hỗ trợ ajax nên mình nảy sinh ra ý tưởng làm cái này [...]]]></description>
			<content:encoded><![CDATA[<p>Mới hí hoáy code được cái này  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/9.gif' alt=':&quot;&amp;GT;' class='wp-smiley' />  chả biết nên gọi là cái gì, cứ tạm gọi nó là firewall dành cho web site đi  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/71.gif' alt=';))' class='wp-smiley' /> </p>
<p>Dựa vào 1 đặc điểm mà mình nghĩ là chỉ có trình duyệt mới có đó là hỗ trợ ajax nên mình nảy sinh ra ý tưởng làm cái này để tránh các truy cập bất hợp pháp vào website  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/10.gif' alt=':-p' class='wp-smiley' /> </p>
<p>Bộ code gồm 6 file: check.php, file.php, config.php, verify.php, mm.js.php, và .htaccess. Mình xin giới thiệu hoạt động sơ qua của cái AsF này như sau  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  :</p>
<p>Khởi động 1 session, kiểm tra xem phiên làm việc đã được xác nhận chưa(mặc định ban đầu là chưa) nếu chưa được xác nhận thì sẽ xuất ra đoạn javascript để xác nhận, <strong>và thoát</strong>. Công việc xác nhận được thực hiện bằng ajax, gửi mã xác nhận đến file verify.php nếu mã xác nhận đúng sẽ cho phép phiên làm việc bắt đầu, kết thúc công việc dùng ajax để xác nhận thì refresh lại trang web lúc này lại kiểm tra phiên làm việc đã được xác nhận chưa và tất nhiên là xác nhận rồi  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/10.gif' alt=':-p' class='wp-smiley' />  xác nhận rồi thì cho trang web thực hiện công việc của nó thôi, query dữ liệu và hiển thị thông tin&#8230;  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' /> </p>
<p>À còn 1 cái nữa suýt quên  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  đó là tất cả các file hình ảnh, âm thanh, flash&#8230; đều được truy xuất gián tiếp qua file file.php file này cũng làm nhiệm vụ kiểm tra và chống load đi load lại 1 file nhiều lần,ví dụ bạn cho 1 hình ảnh ra và nhấn F5, lần thứ 3 thì sẽ hỏi bạn có muốn download không, nếu tiếp tục F5 thì sẽ redirect về home page (hoặc làm gì khác thì tùy bạn  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/10.gif' alt=':-p' class='wp-smiley' />  )  </p>
<p>Cách sử dụng và download:<img title="(Đọc tiếp...)" src="http://as247.vui360.com/blog/wp-includes/js/tinymce/plugins/wordpress/img/trans.gif" alt="" /><span id="more-769"></span></p>
<p> - Để 2 file file.php và .htaccess tại thư mục mà bạn cài trang web của mình.</p>
<p>- Include file asf/check.php vào file php cần bảo vệ.</p>
<p>- Chỉnh sửa file configs.php cho phù hợp với trang web của bạn  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/1.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Download <a href="http://code.google.com/p/asf4w/downloads/list" target="_blank">tại đây</a></p>
<p>P/s: Em cũng chưa chắc chắn về hiệu quả của cái này  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/9.gif' alt=':&quot;&amp;GT;' class='wp-smiley' />  (mọi người đừng cười em nha, em mới tập tành php thôi mà  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/9.gif' alt=':&quot;&amp;GT;' class='wp-smiley' />  )</p>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/asf4w/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax hóa blog</title>
		<link>http://as247.vui360.com/blog/ajax-hoa-blog/</link>
		<comments>http://as247.vui360.com/blog/ajax-hoa-blog/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 05:41:14 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[As***]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Blog status]]></category>
		<category><![CDATA[Theme]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=534</guid>
		<description><![CDATA[Mất mấy ngày sửa lại cái theme để có theme ajax 100% mãi đêm qua mới xong , nói 100% thì hơi quá nhưng cũng phải được 90% Ước mơ chuyển cái blog thành 100% ajax cuối cùng cũng đã thực hiện được nhưng mà chẳng hiểu sao chuyển qua ajax rồi mà vẫn thấy [...]]]></description>
			<content:encoded><![CDATA[<p>Mất mấy ngày sửa lại cái theme để có <a href="http://as247.vui360.com/as247">theme ajax</a> 100%  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  mãi đêm qua mới xong  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/18.gif' alt='#:-s' class='wp-smiley' />  , nói 100% thì hơi quá  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/71.gif' alt=';))' class='wp-smiley' />  nhưng cũng phải được 90%  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/21.gif' alt=':))' class='wp-smiley' /> </p>
<p>Ước mơ chuyển cái blog thành <a href="http://as247.vui360.com/as247">100% ajax</a> cuối cùng cũng đã thực hiện được  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/21.gif' alt=':))' class='wp-smiley' />  nhưng mà chẳng hiểu sao chuyển qua <a href="http://as247.vui360.com/as247">ajax</a> rồi mà vẫn thấy nó chậm  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/71.gif' alt=';))' class='wp-smiley' />  có khi dành tiền làm cái host VN là hay nhất, nhưng chắc chẳng bao giờ để dành được  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/24.gif' alt='=))' class='wp-smiley' />  vì tiền tiêu hàng tháng có dư đâu  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/2.gif' alt=':-(' class='wp-smiley' />  . Thôi kệ, được đến đâu hay đến đó vậy, nhưng cho đến bây giờ thì vẫn cảm thấy mãn nguyện với cái <a href="http://as247.vui360.com/as247">theme ajax</a> này  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/1.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/ajax-hoa-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thêm chút ajax cho blog</title>
		<link>http://as247.vui360.com/blog/them-chut-ajax-cho-blog/</link>
		<comments>http://as247.vui360.com/blog/them-chut-ajax-cho-blog/#comments</comments>
		<pubDate>Sun, 28 Sep 2008 04:37:35 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[As***]]></category>
		<category><![CDATA[Ajax]]></category>
		<category><![CDATA[Blog status]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=217</guid>
		<description><![CDATA[Cả buổi sáng ngồi chơi chả biết làm gì lang thang trên mạng gặp ngay cái plugin ajax cho wordpress. Mình cũng chả biết ajax là cái gì cài xong mới biết thì ra là nó chỉ load những cái gì mình cần chứ không load lại toàn bộ trang web. Cái plugin này chỉ có ajax cho [...]]]></description>
			<content:encoded><![CDATA[<p>Cả buổi sáng ngồi chơi chả biết làm gì  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/22.gif' alt=':-|' class='wp-smiley' />  lang thang trên mạng gặp ngay cái plugin <a onclick="window.open('http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)','AJax','scrollbars=yes,width=620,height=300,left='+(screen.availWidth/2-310)+',top='+(screen.availHeight/2-150)+'');return false;" href="http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)">ajax</a> cho wordpress. Mình cũng chả biết <a onclick="window.open('http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)','AJax','scrollbars=yes,width=620,height=300,left='+(screen.availWidth/2-310)+',top='+(screen.availHeight/2-150)+'');return false;" href="http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)">ajax</a> là cái gì  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  cài xong mới biết  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  thì ra là nó chỉ load những cái gì mình cần chứ không load lại toàn bộ trang web. Cái plugin này chỉ có <a onclick="window.open('http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)','AJax','scrollbars=yes,width=620,height=300,left='+(screen.availWidth/2-310)+',top='+(screen.availHeight/2-150)+'');return false;" href="http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)">ajax</a> cho bài viết và comment thôi  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/2.gif' alt=':-(' class='wp-smiley' />  , có những trang web dùng 100% <a onclick="window.open('http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)','AJax','scrollbars=yes,width=620,height=300,left='+(screen.availWidth/2-310)+',top='+(screen.availHeight/2-150)+'');return false;" href="http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)">ajax</a> (<a href="http://thangcanhdep.com" target="_blank">http://thangcanhdep.com</a>) . Ước gì cái blog này của mình cũng 100% <a onclick="window.open('http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)','AJax','scrollbars=yes,width=620,height=300,left='+(screen.availWidth/2-310)+',top='+(screen.availHeight/2-150)+'');return false;" href="http://vi.wikipedia.org/wiki/Ajax_(l%E1%BA%ADp_tr%C3%ACnh)">ajax</a>  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/105.gif' alt='8-&amp;GT;' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/them-chut-ajax-cho-blog/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

