<?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>Mr.Wiwat Buranarom</title>
	<atom:link href="http://wiwat.buranarom.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiwat.buranarom.com</link>
	<description>เว็บเพื่อการเรียนรู้ PHP, MySQL, HTML, Flash ActionScript</description>
	<lastBuildDate>Wed, 28 Sep 2011 04:44:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Find The Speed Of Your Ethernet Card In Linux</title>
		<link>http://wiwat.buranarom.com/2011/09/find-the-speed-of-your-ethernet-card-in-linux/</link>
		<comments>http://wiwat.buranarom.com/2011/09/find-the-speed-of-your-ethernet-card-in-linux/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 03:59:50 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=478</guid>
		<description><![CDATA[# fconfig -a # dmesg &#124;grep eth0 # mii-tool -v eth0 # ethtool eth0]]></description>
			<content:encoded><![CDATA[<p># fconfig -a<br />
# dmesg |grep eth0<br />
# mii-tool -v eth0<br />
# ethtool eth0</p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/09/find-the-speed-of-your-ethernet-card-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[WindowsXP] Regional and Language Options (HD)</title>
		<link>http://wiwat.buranarom.com/2011/09/windows-xp-regional-and-language-options-hd/</link>
		<comments>http://wiwat.buranarom.com/2011/09/windows-xp-regional-and-language-options-hd/#comments</comments>
		<pubDate>Thu, 15 Sep 2011 16:55:52 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Windows XP]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=473</guid>
		<description><![CDATA[www.youtube.com/watch?v=icvY-_VkAp4]]></description>
			<content:encoded><![CDATA[<p><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="346" src="http://www.youtube.com/embed/icvY-_VkAp4?color1=e1600f&amp;color2=febd01&amp;border=1&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=1&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;theme=dark&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=icvY-_VkAp4&fmt=18"><img src="http://img.youtube.com/vi/icvY-_VkAp4/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=icvY-_VkAp4&fmt=18">www.youtube.com/watch?v=icvY-_VkAp4</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/09/windows-xp-regional-and-language-options-hd/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Squeeze, Squid, Kerberos/LDAP Authentication, Active Directory Integration And Cyfin Reporter</title>
		<link>http://wiwat.buranarom.com/2011/08/debian-squeeze-squid-kerberosldap-authentication-active-directory-integration-and-cyfin-reporter/</link>
		<comments>http://wiwat.buranarom.com/2011/08/debian-squeeze-squid-kerberosldap-authentication-active-directory-integration-and-cyfin-reporter/#comments</comments>
		<pubDate>Sun, 21 Aug 2011 15:24:18 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=466</guid>
		<description><![CDATA[This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This is especially useful for Windows 7 clients which no longer support NTLMv2 without changing the local [...]]]></description>
			<content:encoded><![CDATA[<p>This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This is especially useful for Windows 7 clients which no longer support NTLMv2 without changing the local computer policy. It is capable of using white lists and black lists for site access and restrictions.</p>
<p>For this guide the following examples are utilised &#8211; you should update any sections with the clients domain, hostnames and IP&#8217;s where necessary.</p>
<ul>
<li>Domain = example.local</li>
<li>Subnet = 192.168.0.0/24</li>
<li>Proxy Server: IP = 192.168.0.26, HOSTNAME = squidproxy.example.local</li>
<li>Windows Server 1: IP = 192.168.0.1, HOSTNAME = domaincontroller1.example.local</li>
<li>Windows Server 2: IP = 192.168.0.10, HOSTNAME = server2.example.local</li>
</ul>
<p>A base install of Debian Squeeze is assumed as well as basic Debian administration skills. vi is assumed as the text editor.</p>
<h3><span id="more-466"></span>Prerequisites</h3>
<p>Client Internet Explorer Browsers need to have &#8220;Enable Integrated Windows Authentication&#8221; ticked in Internet Options :: Advanced settings as well as Proxy Auto detection enabled &#8211; google these if not sure. All modern web browsers will support proxy auto detection. Firefox and Chrome also support Windows Authentication.</p>
<h3>DNS Configuration</h3>
<p>Install dnsutils:</p>
<p>apt-get install dnsutils</p>
<p>On the Windows DNS server add a new A record entry for the proxy server&#8217;s hostname and ensure a corresponding PTR (reverse DNS) entry is also created and works. Check that the proxy is using the Windows DNS Server for name resolution and update /etc/resolv.conf accordingly.</p>
<p>vi /etc/resolv.conf</p>
<pre>search example.local
nameserver 192.168.0.1
nameserver 192.168.0.10</pre>
<p>Ping an internal and external hostname to ensure DNS is operating.</p>
<p>ping domaincontroller1.example.local -c 4 &amp;&amp; ping google.com -c 4</p>
<p>Check you can reverse look up the Windows Server and the local proxy ip from the Windows DNS.</p>
<p>dig -x 192.168.0.1<br />
dig -x 192.168.0.26</p>
<p><strong>Warning: If either DNS lookup fails do not proceed until fixed or proxy authentication will fail.</strong></p>
<p>&nbsp;</p>
<h3>NTP Configuration</h3>
<p>Install the ntp package:</p>
<p>apt-get install ntp</p>
<p>Because Kerberos needs to have the time synchronized with Windows Domain Controllers for authentication we configure the proxy to obtain time from the them.</p>
<p>vi /etc/ntp.conf</p>
<p>Locate the following section and update the ntp servers as required. If you have more than one Domain Controller or NTP Server you may add multiple lines.</p>
<pre># You do need to talk to an NTP server or two (or three).
#server ntp.your-provider.example
server domaincontroller1.example.local
server server2.example.local</pre>
<p>Then restart and test NTP.</p>
<p>invoke-rc.d ntp restart<br />
ntpq -p</p>
<p>You should see output that refers to the Domain Controllers and other NTP Servers which are processed in the order that they appear in the conf file.</p>
<p>&nbsp;</p>
<h3>Configure Kerberos</h3>
<p>Install Kerberos packages:</p>
<p>apt-get install krb5-user libkrb53</p>
<p>Just accept the defaults presented to any debconf dialog&#8217;s presented as we are overwriting them.</p>
<p>Set up Kerberos.</p>
<p>cp /etc/krb5.conf /etc/krb5.conf.default<br />
cat /dev/null &gt; /etc/krb5.conf<br />
vi /etc/krb5.conf</p>
<p>Edit the file replacing the variables (highlighted) with the client&#8217;s domain and server.</p>
<p><strong>Warning: Depending on your Windows Domain Controllers OS Version un-comment the relevant Windows 200X section and comment out the opposing section.</strong></p>
<p>If you only have 1 Domain Controller remove the additional &#8220;kdc&#8221; entry from the &#8220;[realms]&#8221; section.</p>
<pre>[libdefaults]
        default_realm = EXAMPLE.LOCAL
        dns_lookup_kdc = no
        dns_lookup_realm = no
        ticket_lifetime = 24h
        default_keytab_name = /etc/squid3/PROXY.keytab
; for Windows 2003
        default_tgs_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
        default_tkt_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
        permitted_enctypes = rc4-hmac des-cbc-crc des-cbc-md5
; for Windows 2008 with AES
;        default_tgs_enctypes = aes256-cts-hmac-sha1-96 rc4-hmac des-cbc-crc des-cbc-md5
;        default_tkt_enctypes = aes256-cts-hmac-sha1-96 rc4-hmac des-cbc-crc des-cbc-md5
;        permitted_enctypes = aes256-cts-hmac-sha1-96 rc4-hmac des-cbc-crc des-cbc-md5
[realms]
        EXAMPLE.LOCAL = {
                kdc = domaincontroller1.example.local
                kdc = server2.example.local
                admin_server = domaincontroller1.example.local
                default_domain = example.local
        }
[domain_realm]
        .example.local = EXAMPLE.LOCAL
        example.local = EXAMPLE.LOCAL</pre>
<p>&nbsp;</p>
<h3>Install Squid 3</h3>
<p>apt-get install squid3 ldap-utils</p>
<p>Note: Squid configuration takes places after msktutil is configured.</p>
<p>&nbsp;</p>
<h3>Install and run msktutil</h3>
<p>Obtain the msktutil package and install it.</p>
<p>cd /var/cache/apt/archives/ wget http://fuhm.net/software/msktutil/releases/msktutil_0.4-2_i386.deb<br />
apt-get install libsasl2-modules-gssapi-mit libsasl2-modules<br />
dpkg -i msktutil_0.4-2_i386.deb<br />
cd</p>
<p>Initiate a kerberos session to the server so msktutil can use it to create our Proxy object in Active directory that will be used for access.</p>
<p>kinit administrator</p>
<p><em>Enter the domain administrator password</em>.</p>
<p>It should then return without errors. You can see if you successfully obtained a ticket with:</p>
<p>klist</p>
<p>Now we configure the proxy in AD with service principles by running msktutil (update the highlighted values with your network).</p>
<p><strong>Warning: You should not move the object from the OU that you use msktutil to create it in.</strong></p>
<p>msktutil -c -b &#8221;CN=COMPUTERS&#8221; -s HTTP -k /etc/squid3/PROXY.keytab &#8211;computer-name SQUIDPROXY \<br />
&#8211;upn HTTP/squidproxy.example.local &#8211;server domaincontroller1.example.local &#8211;verbose</p>
<p>If you are using a Server 2008 domain then add &#8220;&#8211;enctypes 28&#8243; at the end of the command.</p>
<p>msktutil -c -b &#8221;CN=COMPUTERS&#8221; -s HTTP -k /etc/squid3/PROXY.keytab &#8211;computer-name SQUIDPROXY \<br />
&#8211;upn HTTP/squidproxy.example.local &#8211;server domaincontroller1.example.local &#8211;verbose &#8211;enctypes 28</p>
<p>Set the permissions on the keytab so squid can read it.</p>
<p>chgrp proxy /etc/squid3/PROXY.keytab<br />
chmod g+r /etc/squid3/PROXY.keytab</p>
<p>On the Windows Server reset the Computer Account in AD by right clicking on the SQUIDPROXY Computer and select &#8220;Reset Account&#8221;, then run msktutil as follows to ensure the keytab is updated as expected and that the keytab is being sourced by msktutil from /etc/krb5.conf correctly.</p>
<p>Reboot the proxy first to clear the kerberos tickets generated by kinit command then run the following:</p>
<p>msktutil &#8211;auto-update &#8211;verbose</p>
<p>If the keytab is not found try adding &#8220;-k /etc/squid3/PROXY.keytab&#8221; to the command to see if it works and then troubleshoot until resolved or users will not be able to authenticate with Squid.</p>
<p>Add the following to cron so it can automatically updates the computer account in active directory when it expires (typically around 30 days). I pipe it through logger so I can see any errors in syslog if necessary. As stated the msktutil uses the default /etc/krb5.conf file for its paramaters so be aware of that if you decide to make any changes in it.</p>
<p>The SHELL and PATH variables are there to ensure cron runs properly change this if you know what your doing.</p>
<p>crontab -e</p>
<pre>SHELL=/bin/bash
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
# m h  dom mon dow   command
00 4  *   *   *     msktutil --auto-update --verbose | logger -t msktutil</pre>
<p>ที่มา:</p>
<ol>
<li><a href="http://www.howtoforge.com/debian-squeeze-squid-kerberos-ldap-authentication-active-directory-integration-and-cyfin-reporter" target="_blank">debian-squeeze-squid-kerberos-ldap-authentication-active-directory-integration-and-cyfin-reporter</a></li>
<li><a href="http://www.howtoforge.com/debian-squeeze-squid-kerberos-ldap-authentication-active-directory-integration-and-cyfin-reporter-p2" target="_blank">debian-squeeze-squid-kerberos-ldap-authentication-active-directory-integration-and-cyfin-reporter-p2</a></li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/08/debian-squeeze-squid-kerberosldap-authentication-active-directory-integration-and-cyfin-reporter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Excel] Personal Database</title>
		<link>http://wiwat.buranarom.com/2011/08/excel-personal-database/</link>
		<comments>http://wiwat.buranarom.com/2011/08/excel-personal-database/#comments</comments>
		<pubDate>Fri, 19 Aug 2011 03:38:25 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=462</guid>
		<description><![CDATA[www.youtube.com/watch?v=Eyhv-IDUyTA]]></description>
			<content:encoded><![CDATA[<p><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="346" src="http://www.youtube.com/embed/Eyhv-IDUyTA?color1=e1600f&amp;color2=febd01&amp;border=1&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=1&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;theme=dark&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=Eyhv-IDUyTA&fmt=18"><img src="http://img.youtube.com/vi/Eyhv-IDUyTA/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=Eyhv-IDUyTA&fmt=18">www.youtube.com/watch?v=Eyhv-IDUyTA</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/08/excel-personal-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Excel] Foreign Exchange-Buying</title>
		<link>http://wiwat.buranarom.com/2011/08/excel-foreign-exchange-buying/</link>
		<comments>http://wiwat.buranarom.com/2011/08/excel-foreign-exchange-buying/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 17:00:25 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=445</guid>
		<description><![CDATA[www.youtube.com/watch?v=EG0BbEh0xMw]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-447" title="Excel-Foreign" src="http://wiwat.buranarom.com/wp-content/uploads/2011/08/Excel-Foreign.png" alt="" width="512" height="384" /><br />
<span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="346" src="http://www.youtube.com/embed/EG0BbEh0xMw?color1=e1600f&amp;color2=febd01&amp;border=1&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=1&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;theme=dark&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=EG0BbEh0xMw&fmt=18"><img src="http://img.youtube.com/vi/EG0BbEh0xMw/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=EG0BbEh0xMw&fmt=18">www.youtube.com/watch?v=EG0BbEh0xMw</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/08/excel-foreign-exchange-buying/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[Excel] Maple Leaf Internation Groups-Sales Report</title>
		<link>http://wiwat.buranarom.com/2011/08/excel-maple-leaf-internation-groups-sales-report/</link>
		<comments>http://wiwat.buranarom.com/2011/08/excel-maple-leaf-internation-groups-sales-report/#comments</comments>
		<pubDate>Thu, 11 Aug 2011 17:00:14 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=451</guid>
		<description><![CDATA[www.youtube.com/watch?v=lPX-KXTwQKg]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-452" title="Maple Leaf Internation Groups-Sales Report" src="http://wiwat.buranarom.com/wp-content/uploads/2011/08/Maple-Leaf-Internation-Groups-Sales-Report.png" alt="" width="529" height="298" /></p>
<hr />
<img src="http://wiwat.buranarom.com/wp-content/uploads/2011/08/2011-08-12_164939.png" alt="" title="2011-08-12_164939" width="493" height="260" class="alignnone size-full wp-image-457" /></p>
<hr />
<img src="http://wiwat.buranarom.com/wp-content/uploads/2011/08/2011-08-12_165357.png" alt="" title="2011-08-12_165357" width="640" height="480" class="alignnone size-full wp-image-460" /></p>
<hr />
<span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="346" src="http://www.youtube.com/embed/lPX-KXTwQKg?color1=e1600f&amp;color2=febd01&amp;border=1&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=1&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;theme=dark&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=lPX-KXTwQKg&fmt=18"><img src="http://img.youtube.com/vi/lPX-KXTwQKg/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=lPX-KXTwQKg&fmt=18">www.youtube.com/watch?v=lPX-KXTwQKg</a></p></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/08/excel-maple-leaf-internation-groups-sales-report/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Insert Flash SWF</title>
		<link>http://wiwat.buranarom.com/2011/08/insert-flash-swf/</link>
		<comments>http://wiwat.buranarom.com/2011/08/insert-flash-swf/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 15:50:18 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=370</guid>
		<description><![CDATA[&#60;div&#62; &#60;object&#62; &#60;param name="quality" value="high" /&#62; &#60;param name="menu" value="false" /&#62; &#60;param name="loop" value="0" /&#62; &#60;param name="src" value="http://wiwat.buranarom.com/wp-content/uploads/2011/08/letter.swf" /&#62; &#60;param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" /&#62; &#60;embed id="Captivate1" width="800" height="600" type="application/x-shockwave-flash" src="http://wiwat.buranarom.com/wp-content/uploads/2011/08/letter.swf" quality="high" menu="false" loop="0" pluginspage="http://www.macromedia.com/go/getflashplayer" /&#62; &#60;/object&#62; &#60;/div&#62;]]></description>
			<content:encoded><![CDATA[<p><code>&lt;div&gt;<br />
&lt;object&gt;<br />
&lt;param name="quality" value="high" /&gt;<br />
&lt;param name="menu" value="false" /&gt;<br />
&lt;param name="loop" value="0" /&gt;<br />
&lt;param name="src" value="<span style="color: #ff0000;">http://wiwat.buranarom.com/wp-content/uploads/2011/08/letter.swf</span>" /&gt;<br />
&lt;param name="pluginspage" value="http://www.macromedia.com/go/getflashplayer" /&gt;<br />
&lt;embed id="Captivate1" width="<span style="color: #ff0000;">800</span>" height="<span style="color: #ff0000;">600</span>" type="application/x-shockwave-flash" src="<span style="color: #ff0000;">http://wiwat.buranarom.com/wp-content/uploads/2011/08/letter.swf</span>" quality="high" menu="false" loop="0" pluginspage="http://www.macromedia.com/go/getflashplayer" /&gt;<br />
&lt;/object&gt;<br />
&lt;/div&gt;</code></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/08/insert-flash-swf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Captivate 5.5</title>
		<link>http://wiwat.buranarom.com/2011/08/adobe-captivate-5-5/</link>
		<comments>http://wiwat.buranarom.com/2011/08/adobe-captivate-5-5/#comments</comments>
		<pubDate>Fri, 05 Aug 2011 17:00:17 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[หลักสูตร]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=261</guid>
		<description><![CDATA[หลักสูตรอบรม Adobe Captivate 5.5 รายละเอียดหลักสูตร - วันที่อบรม 13-14 สิงหาคม 2554 เวลา 11:00น. &#8211; 17:00น. เนื้อหา ไฟล์ประกอบการอบรม Presentation (PDF) - Sample (SWF) - หมายเหตุ -]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-110" title="tklogo_2" src="http://wiwat.buranarom.com/wp-content/uploads/2010/03/tklogo_2.png" alt="" /></p>
<h3>หลักสูตรอบรม</h3>
<p>Adobe Captivate 5.5</p>
<h3>รายละเอียดหลักสูตร</h3>
<p>-</p>
<h3>วันที่อบรม</h3>
<p>13-14 สิงหาคม 2554 เวลา 11:00น. &#8211; 17:00น.</p>
<h3>เนื้อหา</h3>
<h3>ไฟล์ประกอบการอบรม</h3>
<ol>
<li>Presentation (PDF) -</li>
<li>Sample (SWF) -</li>
</ol>
<h3><span style="color: #ff0000;">หมายเหตุ</span></h3>
<p>-</p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/08/adobe-captivate-5-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP Export to CSV</title>
		<link>http://wiwat.buranarom.com/2011/07/php-export-to-csv/</link>
		<comments>http://wiwat.buranarom.com/2011/07/php-export-to-csv/#comments</comments>
		<pubDate>Sun, 24 Jul 2011 03:33:13 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=256</guid>
		<description><![CDATA[&#60;?php $link = mysql_connect($dbserver,$dbuser,$dbpassword); if(!$link){ die('ไม่สามารถเชื่อมต่อ : '.mysql_error()); } $db_selected = mysql_select_db($dbname,$link); if(!$db_selected){ die('ไม่สามารถใช้ฐานข้อมูลนี้ : '.mysql_error()); } $result = mysql_query("SET NAMES UTF8",$link); ////////////////////////////////////////////////////////////////// $fh = @fopen("/var/www/temp/".$classid.".csv","w"); if($fh){ $sql = 'SELECT * FROM `student` WHERE `classid`=\''.$classid.'\' ORDER BY `id`'; $result = mysql_query($sql,$link); ////////////////////////////////////////////////////////////////// while ($row = mysql_fetch_array($result, MYSQL_BOTH)) { $id2 = $row["id"]; $prefix2 = $row["prefix"]; $fname2 [...]]]></description>
			<content:encoded><![CDATA[<p><code><br />
&lt;?php<br />
	$link = mysql_connect($dbserver,$dbuser,$dbpassword);<br />
	if(!$link){<br />
		die('ไม่สามารถเชื่อมต่อ : '.mysql_error());<br />
	}<br />
	$db_selected = mysql_select_db($dbname,$link);<br />
	if(!$db_selected){<br />
		die('ไม่สามารถใช้ฐานข้อมูลนี้ : '.mysql_error());<br />
	}<br />
	$result = mysql_query("SET NAMES UTF8",$link);<br />
	//////////////////////////////////////////////////////////////////<br />
		$fh = @fopen("/var/www/temp/".$classid.".csv","w");<br />
		if($fh){<br />
			$sql = 'SELECT * FROM `student` WHERE `classid`=\''.$classid.'\' ORDER BY `id`';<br />
			$result = mysql_query($sql,$link);<br />
//////////////////////////////////////////////////////////////////<br />
			while ($row = mysql_fetch_array($result, MYSQL_BOTH)) {<br />
				$id2 = $row["id"];<br />
				$prefix2 = $row["prefix"];<br />
    				$fname2 = $row["fname"];<br />
				$sname2 = $row["sname"];</p>
<p>				$i++;<br />
				if($utf!="true"){<br />
					$prefix2 = iconv('UTF-8','TIS-620',$prefix2);<br />
					$fname2 = iconv('UTF-8','TIS-620',$fname2);<br />
					$sname2 = iconv('UTF-8','TIS-620',$sname2);<br />
				}<br />
				fputcsv($fh,array($i,$id2,$prefix2.$fname2,$sname2));<br />
			}<br />
			mysql_close($link);<br />
			fclose($fh);<br />
	//////////////////////////////////////////////////////////////////<br />
			header("Location: http://yourdomain.com/temp/".$classid.".csv");<br />
		}else{<br />
			$err = "ไม่สามารถดาวน์โหลดไฟล์ได้";<br />
			fclose($fh);<br />
		}</p>
<p>?&gt;<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/07/php-export-to-csv/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Analytics for WordPress</title>
		<link>http://wiwat.buranarom.com/2011/07/google-analytics-for-wordpress/</link>
		<comments>http://wiwat.buranarom.com/2011/07/google-analytics-for-wordpress/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 15:51:56 +0000</pubDate>
		<dc:creator>วิวรรธน์ บูรณารมย์</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://wiwat.buranarom.com/?p=236</guid>
		<description><![CDATA[Google Analytics for WordPress www.youtube.com/watch?v=tnUXzbvXxSQ Configuring Google Analytics for WordPress www.youtube.com/watch?v=VacUbrM-8FQ ที่มา: http://wordpress.org/extend/plugins/google-analytics-for-wordpress/]]></description>
			<content:encoded><![CDATA[<p><h2>Google Analytics for WordPress</h2>
<p><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="346" src="http://www.youtube.com/embed/tnUXzbvXxSQ?color1=e1600f&amp;color2=febd01&amp;border=1&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=1&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;theme=dark&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=tnUXzbvXxSQ&fmt=18"><img src="http://img.youtube.com/vi/tnUXzbvXxSQ/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=tnUXzbvXxSQ&fmt=18">www.youtube.com/watch?v=tnUXzbvXxSQ</a></p>
</p>
<p><h2>Configuring Google Analytics for WordPress</h2>
<p><span class="youtube">
<iframe title="YouTube video player" class="youtube-player" type="text/html" width="560" height="346" src="http://www.youtube.com/embed/VacUbrM-8FQ?color1=e1600f&amp;color2=febd01&amp;border=1&amp;fs=1&amp;hl=en&amp;modestbranding=1&amp;loop=1&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=0&amp;theme=dark&amp;hd=1" frameborder="0" allowfullscreen></iframe>
</span><p><a href="http://www.youtube.com/watch?v=VacUbrM-8FQ&fmt=18"><img src="http://img.youtube.com/vi/VacUbrM-8FQ/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=VacUbrM-8FQ&fmt=18">www.youtube.com/watch?v=VacUbrM-8FQ</a></p>
</p>
<p><code>ที่มา: http://wordpress.org/extend/plugins/google-analytics-for-wordpress/</code></p>
]]></content:encoded>
			<wfw:commentRss>http://wiwat.buranarom.com/2011/07/google-analytics-for-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

