<?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; Php</title>
	<atom:link href="http://as247.vui360.com/blog/tag/php/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>MySQL query comparison</title>
		<link>http://as247.vui360.com/blog/mysql-query-comparison/</link>
		<comments>http://as247.vui360.com/blog/mysql-query-comparison/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 17:31:14 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Kinh nghiệm]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Compare]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[So sánh]]></category>
		<category><![CDATA[Tool]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=1161</guid>
		<description><![CDATA[Một tool đơn giản mình code bằng php, dùng để so sánh 2 truy vấn trên mysql Không mạnh được như SQL Query Analyzer Của Microsoft, nhưng mình thấy cũng xài tạm được Tải về: MySQL Query Comparison.zip]]></description>
			<content:encoded><![CDATA[<p>Một tool đơn giản mình code bằng php, dùng để so sánh 2 truy vấn trên mysql  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/9.gif' alt=':&quot;&amp;GT;' class='wp-smiley' />  Không mạnh được như <em>SQL</em> Query <em>Analyzer Của Microsoft, </em>nhưng mình thấy cũng xài tạm được  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/9.gif' alt=':&quot;&amp;GT;' class='wp-smiley' /> </p>
<p><a class="highslide" onclick="return hs.expand(this)" href="/blog/wp-content/uploads/2010/11/mysql_query_comparison.JPG"><img title="mysql_query_comparison.JPG" src="/blog/wp-content/uploads/2010/11/as-thumbs/as-mysql_query_comparison.JPG" border="0" alt="mysql_query_comparison.JPG" width="256" height="190" /></a><span id="more-1161"></span></p>
<p>Tải về: <a href="http://as247.vui360.com/lib/tools/MySQL Query Comparison.zip">MySQL Query Comparison.zip</a></p>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/mysql-query-comparison/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Loại bỏ dấu tiếng Việt trong tên file</title>
		<link>http://as247.vui360.com/blog/loai-bo-dau-tieng-viet-trong-ten-file/</link>
		<comments>http://as247.vui360.com/blog/loai-bo-dau-tieng-viet-trong-ten-file/#comments</comments>
		<pubDate>Wed, 12 May 2010 08:29:53 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Kinh nghiệm]]></category>
		<category><![CDATA[AutoIt]]></category>
		<category><![CDATA[Bỏ dấu]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Files]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[Loại bỏ]]></category>
		<category><![CDATA[Nhạc phim]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Tiếng Việt]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=1049</guid>
		<description><![CDATA[Chả là có cái list nhạc phim, muốn upload lên nhưng mà tên file thì bằng tiếng Việt có dấu, host thì host windows nên không up lên được Tìm phần mềm mãi cũng không có Thử dùng php nhưng php chạy trên windows cũng không get đc tên file tiếng Việt, rồi thử dùng [...]]]></description>
			<content:encoded><![CDATA[<p>Chả là có cái list nhạc phim, muốn upload lên nhưng mà tên file thì bằng tiếng Việt có dấu, host thì host windows nên không up lên được  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/2.gif' alt=':-(' class='wp-smiley' />  Tìm phần mềm mãi cũng không có  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/18.gif' alt='#:-s' class='wp-smiley' />  Thử dùng php nhưng php chạy trên windows cũng không get đc tên file tiếng Việt, rồi thử dùng java thấy cũng không ăn thua,&#8230; nghĩ đến C++ nhưng mà nhớ là ngày xưa lập trình C++ thì hình như ko hỗ trợ unicode(utf-8) và lại trên máy cũng ko cài IDE cho C++ nên thôi ko thử nữa,&#8230; rồi dùng thử AutoIT nhưng cũng chưa thạo cho lắm, nên phải lấy danh sách file qua console và cũng bị lỗi dấu&#8230; Cuối cùng spam cả list yahoo để hỏi, một đứa bạn trả lời là dùng java được đấy, sao mình dùng mãi không được nhỉ  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/102.gif' alt='~X(' class='wp-smiley' />  lúc đầu là in ra danh sách các file thấy nó toàn bị lỗi rồi thử print 1 đoạn chữ tiếng Việt ra thấy nó cũng lỗi, đoán là do cái phần hiển thị output nó ko hỗ trợ unicode giống như chạy qua cmd vậy nên cũng thử cả System.out.print(filename.equals(&#8220;nhạc.mp3&#8243;)) nhưng nó vẫn print ra false  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/10_as.gif' alt='@@' class='wp-smiley' />  không nghĩ đến trường hợp cái editor ko hỗ trợ unicode vì vẫn gõ tiếng Việt trên đó đều đều + encoding của file lại là utf-8. Hỏi lại đứa bạn lần nữa thì nó bảo phải dùng eclipse ấy, jcreator ko được đâu và phải chỉnh lại bảng mã soạn thảo cho cái eclipse là unicode. Lúc này mới thử kiểm tra bảng mã của cái jcreator thì thấy là nó ko có unicode  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/2.gif' alt=':-(' class='wp-smiley' />  vậy mà mình cứ nghĩ là nó đặt sẵn unicode rồi tại vì vẫn gõ tiếng Việt trên đó đều mà  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/22.gif' alt=':-|' class='wp-smiley' /> <span id="more-1049"></span></p>
<p>Và đây là đoạn mã nguồn để bỏ dấu trong tên file. Copy các file cần bỏ dấu vào thư mục input rồi chạy là xong  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  các file đã được bỏ dấu sẽ nằm ở thư mục output  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' />  . Ai thích dùng ngay thì tải <a href="http://as247.vui360.com/download/?file=Rename-1.1.zip">Rename-1.1.zip</a> về chạy run.bat<br />
Các phiên bản:</p>
<p style="padding-left: 30px;">- 1.0: <a href="http://as247.vui360.com/download/?file=Rename.rar">Rename.rar</a></p>
<p style="padding-left: 30px;">- 1.1: <a href="http://as247.vui360.com/download/?file=Rename-1.1.zip">Rename-1.1.zip</a></p>
<pre class="brush: java">
import java.io.File;
class Rename{
public Rename(String source,String dest){
FileRename(source,dest);
}
public static void main (String[] args) {
new Rename(&quot;input&quot;,&quot;output&quot;);

}
public void FileRename(String source,String dest){
File fromDir=new File(source);
File destDir=new File(dest);
if(!fromDir.isDirectory())
if(!fromDir.mkdir()){
System.out.println(&quot;Cound not create dir &quot;+source);
}
if(!destDir.isDirectory())
if(!destDir.mkdir()){
System.out.println(&quot;Cound not create dir &quot;+dest);
}
String [] files=fromDir.list();
int stop=files.length;
for(int i=0;i&lt;stop;i++){
String newname=rename(files[i]);
File file=new File(source+&quot;/&quot;+files[i]);
File newFileName=new File(dest+&quot;/&quot;+newname);
if(file.renameTo(newFileName))
System.out.println(&quot;Renamed &quot;+files[i]+&quot; to &quot;+ newname);
}
}
public String rename(String file){
file=file.replace(&#039;à&#039;,&#039;a&#039;);file=file.replace(&#039;á&#039;,&#039;a&#039;);file=file.replace(&#039;ả&#039;,&#039;a&#039;);file=file.replace(&#039;ã&#039;,&#039;a&#039;);
file=file.replace(&#039;ạ&#039;,&#039;a&#039;);file=file.replace(&#039;ă&#039;,&#039;a&#039;);file=file.replace(&#039;ằ&#039;,&#039;a&#039;);file=file.replace(&#039;ắ&#039;,&#039;a&#039;);
file=file.replace(&#039;ẳ&#039;,&#039;a&#039;);file=file.replace(&#039;ẵ&#039;,&#039;a&#039;);file=file.replace(&#039;ặ&#039;,&#039;a&#039;);file=file.replace(&#039;â&#039;,&#039;a&#039;);
file=file.replace(&#039;ầ&#039;,&#039;a&#039;);file=file.replace(&#039;ấ&#039;,&#039;a&#039;);file=file.replace(&#039;ẩ&#039;,&#039;a&#039;);file=file.replace(&#039;ẫ&#039;,&#039;a&#039;);
file=file.replace(&#039;ậ&#039;,&#039;a&#039;);file=file.replace(&#039;À&#039;,&#039;a&#039;);file=file.replace(&#039;Á&#039;,&#039;a&#039;);file=file.replace(&#039;Ả&#039;,&#039;a&#039;);
file=file.replace(&#039;Ã&#039;,&#039;a&#039;);file=file.replace(&#039;Ạ&#039;,&#039;a&#039;);file=file.replace(&#039;Ă&#039;,&#039;a&#039;);file=file.replace(&#039;Ằ&#039;,&#039;a&#039;);
file=file.replace(&#039;Ắ&#039;,&#039;a&#039;);file=file.replace(&#039;Ẳ&#039;,&#039;a&#039;);file=file.replace(&#039;Ẵ&#039;,&#039;a&#039;);file=file.replace(&#039;Ặ&#039;,&#039;a&#039;);
file=file.replace(&#039;Â&#039;,&#039;a&#039;);file=file.replace(&#039;Ầ&#039;,&#039;a&#039;);file=file.replace(&#039;Ấ&#039;,&#039;a&#039;);file=file.replace(&#039;Ẩ&#039;,&#039;a&#039;);
file=file.replace(&#039;Ẫ&#039;,&#039;a&#039;);file=file.replace(&#039;Ậ&#039;,&#039;a&#039;);file=file.replace(&#039;đ&#039;,&#039;d&#039;);file=file.replace(&#039;Đ&#039;,&#039;d&#039;);
file=file.replace(&#039;è&#039;,&#039;e&#039;);file=file.replace(&#039;é&#039;,&#039;e&#039;);file=file.replace(&#039;ẻ&#039;,&#039;e&#039;);file=file.replace(&#039;ẽ&#039;,&#039;e&#039;);
file=file.replace(&#039;ẹ&#039;,&#039;e&#039;);file=file.replace(&#039;ê&#039;,&#039;e&#039;);file=file.replace(&#039;ề&#039;,&#039;e&#039;);file=file.replace(&#039;ế&#039;,&#039;e&#039;);
file=file.replace(&#039;ể&#039;,&#039;e&#039;);file=file.replace(&#039;ễ&#039;,&#039;e&#039;);file=file.replace(&#039;ệ&#039;,&#039;e&#039;);file=file.replace(&#039;È&#039;,&#039;e&#039;);
file=file.replace(&#039;É&#039;,&#039;e&#039;);file=file.replace(&#039;Ẻ&#039;,&#039;e&#039;);file=file.replace(&#039;Ẽ&#039;,&#039;e&#039;);file=file.replace(&#039;Ẹ&#039;,&#039;e&#039;);
file=file.replace(&#039;Ê&#039;,&#039;e&#039;);file=file.replace(&#039;Ề&#039;,&#039;e&#039;);file=file.replace(&#039;Ế&#039;,&#039;e&#039;);file=file.replace(&#039;Ể&#039;,&#039;e&#039;);
file=file.replace(&#039;Ễ&#039;,&#039;e&#039;);file=file.replace(&#039;Ệ&#039;,&#039;e&#039;);file=file.replace(&#039;ì&#039;,&#039;i&#039;);file=file.replace(&#039;í&#039;,&#039;i&#039;);
file=file.replace(&#039;ỉ&#039;,&#039;i&#039;);file=file.replace(&#039;ĩ&#039;,&#039;i&#039;);file=file.replace(&#039;ị&#039;,&#039;i&#039;);file=file.replace(&#039;Ì&#039;,&#039;i&#039;);
file=file.replace(&#039;Í&#039;,&#039;i&#039;);file=file.replace(&#039;Ỉ&#039;,&#039;i&#039;);file=file.replace(&#039;Ĩ&#039;,&#039;i&#039;);file=file.replace(&#039;Ị&#039;,&#039;i&#039;);
file=file.replace(&#039;ò&#039;,&#039;o&#039;);file=file.replace(&#039;ó&#039;,&#039;o&#039;);file=file.replace(&#039;ỏ&#039;,&#039;o&#039;);file=file.replace(&#039;õ&#039;,&#039;o&#039;);
file=file.replace(&#039;ọ&#039;,&#039;o&#039;);file=file.replace(&#039;ô&#039;,&#039;o&#039;);file=file.replace(&#039;ồ&#039;,&#039;o&#039;);file=file.replace(&#039;ố&#039;,&#039;o&#039;);
file=file.replace(&#039;ổ&#039;,&#039;o&#039;);file=file.replace(&#039;ỗ&#039;,&#039;o&#039;);file=file.replace(&#039;ộ&#039;,&#039;o&#039;);file=file.replace(&#039;ơ&#039;,&#039;o&#039;);
file=file.replace(&#039;ờ&#039;,&#039;o&#039;);file=file.replace(&#039;ớ&#039;,&#039;o&#039;);file=file.replace(&#039;ở&#039;,&#039;o&#039;);file=file.replace(&#039;ỡ&#039;,&#039;o&#039;);
file=file.replace(&#039;ợ&#039;,&#039;o&#039;);file=file.replace(&#039;Ò&#039;,&#039;o&#039;);file=file.replace(&#039;Ó&#039;,&#039;o&#039;);file=file.replace(&#039;Ỏ&#039;,&#039;o&#039;);
file=file.replace(&#039;Õ&#039;,&#039;o&#039;);file=file.replace(&#039;Ọ&#039;,&#039;o&#039;);file=file.replace(&#039;Ô&#039;,&#039;o&#039;);file=file.replace(&#039;Ồ&#039;,&#039;o&#039;);
file=file.replace(&#039;Ố&#039;,&#039;o&#039;);file=file.replace(&#039;Ổ&#039;,&#039;o&#039;);file=file.replace(&#039;Ỗ&#039;,&#039;o&#039;);file=file.replace(&#039;Ộ&#039;,&#039;o&#039;);
file=file.replace(&#039;Ơ&#039;,&#039;o&#039;);file=file.replace(&#039;Ờ&#039;,&#039;o&#039;);file=file.replace(&#039;Ớ&#039;,&#039;o&#039;);file=file.replace(&#039;Ở&#039;,&#039;o&#039;);
file=file.replace(&#039;Ỡ&#039;,&#039;o&#039;);file=file.replace(&#039;Ợ&#039;,&#039;o&#039;);file=file.replace(&#039;ù&#039;,&#039;u&#039;);file=file.replace(&#039;ú&#039;,&#039;u&#039;);
file=file.replace(&#039;ủ&#039;,&#039;u&#039;);file=file.replace(&#039;ũ&#039;,&#039;u&#039;);file=file.replace(&#039;ụ&#039;,&#039;u&#039;);file=file.replace(&#039;ư&#039;,&#039;u&#039;);
file=file.replace(&#039;ừ&#039;,&#039;u&#039;);file=file.replace(&#039;ứ&#039;,&#039;u&#039;);file=file.replace(&#039;ử&#039;,&#039;u&#039;);file=file.replace(&#039;ữ&#039;,&#039;u&#039;);
file=file.replace(&#039;ự&#039;,&#039;u&#039;);file=file.replace(&#039;Ù&#039;,&#039;u&#039;);file=file.replace(&#039;Ú&#039;,&#039;u&#039;);file=file.replace(&#039;Ủ&#039;,&#039;u&#039;);
file=file.replace(&#039;Ũ&#039;,&#039;u&#039;);file=file.replace(&#039;Ụ&#039;,&#039;u&#039;);file=file.replace(&#039;Ư&#039;,&#039;u&#039;);file=file.replace(&#039;Ừ&#039;,&#039;u&#039;);
file=file.replace(&#039;Ứ&#039;,&#039;u&#039;);file=file.replace(&#039;Ử&#039;,&#039;u&#039;);file=file.replace(&#039;Ữ&#039;,&#039;u&#039;);file=file.replace(&#039;Ự&#039;,&#039;u&#039;);
file=file.replace(&#039;ỳ&#039;,&#039;y&#039;);file=file.replace(&#039;ý&#039;,&#039;y&#039;);file=file.replace(&#039;ỷ&#039;,&#039;y&#039;);file=file.replace(&#039;ỹ&#039;,&#039;y&#039;);
file=file.replace(&#039;ỵ&#039;,&#039;y&#039;);file=file.replace(&#039;Y&#039;,&#039;y&#039;);file=file.replace(&#039;Ỳ&#039;,&#039;y&#039;);file=file.replace(&#039;Ý&#039;,&#039;y&#039;);
file=file.replace(&#039;Ỷ&#039;,&#039;y&#039;);file=file.replace(&#039;Ỹ&#039;,&#039;y&#039;);file=file.replace(&#039;Ỵ&#039;,&#039;y&#039;);
return file;
}
}
</pre>
<p>Còn đây là thành quả</p>
<p><strong>Nhạc phim</strong></p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="300" height="300" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="flashvars" value="&amp;config=http://as247.vui360.com/blog/wp-content/uploads/player/config.xml&amp;file=http://as247.vui360.com/blog/wp-content/uploads/player/list/nhacphim.xml" /><param name="src" value="http://as247.vui360.com/blog/wp-content/uploads/player/mp3player.swf" /><param name="wmode" value="transparent" /><param name="quality" value="high" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/loai-bo-dau-tieng-viet-trong-ten-file/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<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>Mở pop-up bằng php</title>
		<link>http://as247.vui360.com/blog/mo-pop-up-bang-php/</link>
		<comments>http://as247.vui360.com/blog/mo-pop-up-bang-php/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 13:08:04 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Kinh nghiệm]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Pop-up]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=615</guid>
		<description><![CDATA[Mở pop-up bằng javascript thường bị chặn, giờ mở pop-up bằng php xem cái gì chặn được $browser = new COM("InternetExplorer.Application"); $handle = $browser-&#62;HWND; $browser-&#62;Visible = true; $browser-&#62;Navigate("http://www.example.com/");]]></description>
			<content:encoded><![CDATA[<p>Mở pop-up bằng javascript thường bị chặn, giờ mở pop-up bằng php xem cái gì chặn được  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/21.gif' alt=':))' class='wp-smiley' /> </p>
<pre lang="php">$browser = new COM("InternetExplorer.Application");
$handle = $browser-&gt;HWND;
$browser-&gt;Visible = true;
$browser-&gt;Navigate("http://www.example.com/");</pre>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/mo-pop-up-bang-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VN calendar</title>
		<link>http://as247.vui360.com/blog/vn-calendar/</link>
		<comments>http://as247.vui360.com/blog/vn-calendar/#comments</comments>
		<pubDate>Sat, 07 Feb 2009 04:41:57 +0000</pubDate>
		<dc:creator>As</dc:creator>
				<category><![CDATA[ICT]]></category>
		<category><![CDATA[Php]]></category>
		<category><![CDATA[Plugin]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://as247.vui360.com/blog/?p=494</guid>
		<description><![CDATA[Sau một thời gian mày mò về php và về plugin mình tập viết plugin. Hix, tập viết thì viết gì được đây nhỉ &#8230; Mãi mới nhớ ra là hồi trước mình có dùng cái Lunar calendar, viết plugin đơn giản thì dựa trên cái này là hay nhất &#8230; Ngồi viết đến tối [...]]]></description>
			<content:encoded><![CDATA[<p>Sau một thời gian mày mò về php và về plugin mình tập viết plugin. Hix, tập viết thì viết gì được đây nhỉ  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/7.gif' alt=':s' class='wp-smiley' />   <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/22.gif' alt=':-|' class='wp-smiley' />  &#8230; Mãi mới nhớ ra là hồi trước mình có dùng cái <a href="http://www.informatik.uni-leipzig.de/~duc/amlich/" target="_blank">Lunar calendar</a>, viết plugin đơn giản thì dựa trên cái này là hay nhất  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/4.gif' alt=':d' class='wp-smiley' /> </p>
<p>&#8230; Ngồi viết đến tối hôm qua mới xong, hix mất 2 ngày  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/2.gif' alt=':-(' class='wp-smiley' />  . Plugin này chỉ có mỗi chức năng là hiển thị dương lịch và âm lịch trên widget thôi  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/9.gif' alt=':&quot;&amp;GT;' class='wp-smiley' />  và có thêm một vài tùy chọn nữa  <img src='http://as247.vui360.com/blog/wp-includes/images/smilies/22.gif' alt=':-|' class='wp-smiley' /> </p>
<p>Ai có hứng thú thì download <a href="http://wordpress.org/extend/plugins/vn-calendar/" target="_blank">tại đây</a>, hoặc <a href="http://www.theanh.vui360.com/download/index.php?file=vn-calendar.1.0.zip">liên kết thay thế</a></p>
]]></content:encoded>
			<wfw:commentRss>http://as247.vui360.com/blog/vn-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

