<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Developer</title>
	<atom:link href="http://zhuuuz.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zhuuuz.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 05 Sep 2007 03:31:01 +0000</lastBuildDate>
	<language>th</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zhuuuz.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Developer</title>
		<link>http://zhuuuz.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zhuuuz.wordpress.com/osd.xml" title="Developer" />
	<atom:link rel='hub' href='http://zhuuuz.wordpress.com/?pushpress=hub'/>
		<item>
		<title>pymssql first coding</title>
		<link>http://zhuuuz.wordpress.com/2007/09/05/pymssql-first-coding/</link>
		<comments>http://zhuuuz.wordpress.com/2007/09/05/pymssql-first-coding/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 03:31:01 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/09/05/pymssql-first-coding/</guid>
		<description><![CDATA[import pymssql con = pymssql.connect( user = &#8220;sa&#8221;, password = &#8220;&#8221;, host = &#8220;127.0.0.1&#8243;, database = &#8220;master&#8221;) q = con.cursor () q.execute (&#8220;SELECT SYSTEM_USER&#8221;) for row in q.fetchall ():   print row<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=15&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>import pymssql<br />
con = pymssql.connect( user = &#8220;sa&#8221;, password = &#8220;&#8221;, host = &#8220;127.0.0.1&#8243;, database = &#8220;master&#8221;)<br />
q = con.cursor ()<br />
q.execute (&#8220;SELECT SYSTEM_USER&#8221;)<br />
for row in q.fetchall ():<br />
  print row</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=15&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/09/05/pymssql-first-coding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>python module</title>
		<link>http://zhuuuz.wordpress.com/2007/09/05/python-module/</link>
		<comments>http://zhuuuz.wordpress.com/2007/09/05/python-module/#comments</comments>
		<pubDate>Wed, 05 Sep 2007 02:49:58 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/09/05/python-module/</guid>
		<description><![CDATA[PyGame ทำ เกมส์ 2D Panda3D ทำเกมส์ 3D WxPython ทำ GUI Windows และแบบ API 32 ของ Windows pyWin32 ก้อเรียกใช้ COM Object ของ Windows มาใช้ได้ Py2Exe compile เป็น windows execute file Zope ทำ Application Server ขนาดใหญ่ได้ pycron ทำ cron job (crontab) บน Windows BtTracker ทำ Bittorrent Server/Tracker Bittorrent, Bittornado ทำ client ของ bittorrent ตัวนึง mod_python เรียกใช้ผ่าน Apache [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=14&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PyGame ทำ เกมส์ 2D<br />
Panda3D ทำเกมส์ 3D<br />
WxPython ทำ GUI Windows และแบบ API 32 ของ Windows<br />
pyWin32 ก้อเรียกใช้ COM Object ของ Windows มาใช้ได้<br />
Py2Exe compile เป็น windows execute file<br />
Zope ทำ Application Server ขนาดใหญ่ได้<br />
pycron ทำ cron job (crontab) บน Windows<br />
BtTracker ทำ Bittorrent Server/Tracker<br />
Bittorrent, Bittornado ทำ client ของ bittorrent ตัวนึง<br />
mod_python เรียกใช้ผ่าน Apache</p>
<p>from : <a href="http://www.citecclub.org/forum/lofiversion/index.php/t2803.html">http://www.citecclub.org/forum/lofiversion/index.php/t2803.html</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=14&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/09/05/python-module/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>Add and Remove HTML elements dynamically with Javascript</title>
		<link>http://zhuuuz.wordpress.com/2007/07/25/add-and-remove-html-elements-dynamically-with-javascript/</link>
		<comments>http://zhuuuz.wordpress.com/2007/07/25/add-and-remove-html-elements-dynamically-with-javascript/#comments</comments>
		<pubDate>Wed, 25 Jul 2007 14:44:38 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/07/25/add-and-remove-html-elements-dynamically-with-javascript/</guid>
		<description><![CDATA[++++++ add element ++++++++ function addElement() {   var ni = document.getElementById(&#8216;myDiv&#8217;);   var numi = document.getElementById(&#8216;theValue&#8217;);   var num = (document.getElementById(&#8216;theValue&#8217;).value -1)+ 2;   numi.value = num;   var newdiv = document.createElement(&#8216;div&#8217;);   var divIdName = &#8216;my&#8217;+num+&#8217;Div&#8217;;   newdiv.setAttribute(&#8216;id&#8217;,divIdName);   newdiv.innerHTML = &#8216;Element Number &#8216;+num+&#8217; has been added! &#60;a href=&#8217;#&#8217; onclick=&#8217;removeElement(&#8216;+divIdName+&#8217;)'&#62;Remove the div &#8220;&#8216;+divIdName+&#8217;&#8221;&#60;/a&#62;&#8217;; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=6&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>++++++ add element ++++++++</p>
<p>function addElement() {<br />
  var ni = document.getElementById(&#8216;myDiv&#8217;);<br />
  var numi = document.getElementById(&#8216;theValue&#8217;);<br />
  var num = (document.getElementById(&#8216;theValue&#8217;).value -1)+ 2;<br />
  numi.value = num;<br />
  var newdiv = document.createElement(&#8216;div&#8217;);<br />
  var divIdName = &#8216;my&#8217;+num+&#8217;Div&#8217;;<br />
  newdiv.setAttribute(&#8216;id&#8217;,divIdName);<br />
  newdiv.innerHTML = &#8216;Element Number &#8216;+num+&#8217; has been added! &lt;a href=&#8217;#&#8217; onclick=&#8217;removeElement(&#8216;+divIdName+&#8217;)'&gt;Remove the div &#8220;&#8216;+divIdName+&#8217;&#8221;&lt;/a&gt;&#8217;;<br />
  ni.appendChild(newdiv);<br />
}</p>
<p> ++++++ remove element ++++++++</p>
<p> function removeElement(divNum) {<br />
  var d = document.getElementById(&#8216;myDiv&#8217;);<br />
  var olddiv = document.getElementById(divNum);<br />
  d.removeChild(olddiv);<br />
}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=6&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/07/25/add-and-remove-html-elements-dynamically-with-javascript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>detect plugin</title>
		<link>http://zhuuuz.wordpress.com/2007/07/10/detect-plugin/</link>
		<comments>http://zhuuuz.wordpress.com/2007/07/10/detect-plugin/#comments</comments>
		<pubDate>Tue, 10 Jul 2007 20:37:18 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/07/10/detect-plugin/</guid>
		<description><![CDATA[//This script detects the following: //Flash //Windows Media Player //Java //Shockwave //RealPlayer //QuickTime //Acrobat Reader //SVG Viewer var agt=navigator.userAgent.toLowerCase(); var ie = (agt.indexOf("msie") != -1); var ns = (navigator.appName.indexOf("Netscape") != -1); var win = ((agt.indexOf("win")!=-1) &#124;&#124; (agt.indexOf("32bit")!=-1)); var mac = (agt.indexOf("mac")!=-1); if (ie &#38;&#38; win) { pluginlist = detectIE("Adobe.SVGCtl","SVG Viewer") + detectIE("SWCtl.SWCtl.1","Shockwave Director") + detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=12&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<pre>//This script detects the following:
//Flash
//Windows Media Player
//Java
//Shockwave
//RealPlayer
//QuickTime
//Acrobat Reader
//SVG Viewer</pre>
<pre>var agt=navigator.userAgent.toLowerCase();</pre>
<pre>var ie  = (agt.indexOf("msie") != -1);</pre>
<pre>var ns  = (navigator.appName.indexOf("Netscape") != -1);</pre>
<pre>var win = ((agt.indexOf("win")!=-1) || (agt.indexOf("32bit")!=-1));</pre>
<pre>var mac = (agt.indexOf("mac")!=-1);</pre>
<pre>if (ie &amp;&amp; win) {	pluginlist = detectIE("Adobe.SVGCtl","SVG Viewer") +</pre>
<pre>detectIE("SWCtl.SWCtl.1","Shockwave Director") +</pre>
<pre>detectIE("ShockwaveFlash.ShockwaveFlash.1","Shockwave Flash") +</pre>
<pre>detectIE("rmocx.RealPlayer G2 Control.1","RealPlayer") +</pre>
<pre>detectIE("QuickTimeCheckObject.QuickTimeCheck.1","QuickTime") +</pre>
<pre>detectIE("MediaPlayer.MediaPlayer.1","Windows Media Player") +</pre>
<pre>detectIE("PDF.PdfCtrl.5","Acrobat Reader"); }</pre>
<pre>if (ns || !win) {</pre>
<pre>nse = "";</pre>
<pre>for (var i=0;i&lt;navigator.mimeTypes.length;i++)</pre>
<pre>nse += navigator.mimeTypes[i].type.toLowerCase();</pre>
<pre>pluginlist = detectNS("image/svg-xml","SVG Viewer") +</pre>
<pre>detectNS("application/x-director","Shockwave Director") +</pre>
<pre>detectNS("application/x-shockwave-flash","Shockwave Flash") +</pre>
<pre>detectNS("audio/x-pn-realaudio-plugin","RealPlayer") +</pre>
<pre>detectNS("video/quicktime","QuickTime") +</pre>
<pre>detectNS("application/x-mplayer2","Windows Media Player") +</pre>
<pre>detectNS("application/pdf","Acrobat Reader");</pre>
<pre>}</pre>
<pre>function detectIE(ClassID,name)</pre>
<pre>{ result = false;</pre>
<pre>document.write('&lt;SCRIPT LANGUAGE=VBScript&gt;</pre>
<pre>n on error resume next n</pre>
<pre>result = IsObject(CreateObject("' + ClassID + '"))&lt;/SCRIPT&gt;n');</pre>
<pre>if (result) return name+','; else return ''; }</pre>
<pre>function detectNS(ClassID,name) {</pre>
<pre>n = "";</pre>
<pre>if (nse.indexOf(ClassID) != -1)</pre>
<pre>if (navigator.mimeTypes[ClassID].enabledPlugin != null)</pre>
<pre>n = name+","; return n; }  pluginlist += navigator.javaEnabled() ? "Java," : "";</pre>
<pre>if (pluginlist.length &gt; 0)</pre>
<pre>pluginlist = pluginlist.substring(0,pluginlist.length-1);</pre>
<pre>//SAMPLE USAGE- detect "Flash" //if (pluginlist.indexOf("Flash")!=-1)</pre>
<pre>//document.write("You have flash installed")</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=12&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/07/10/detect-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>clipbord</title>
		<link>http://zhuuuz.wordpress.com/2007/07/09/clipbord/</link>
		<comments>http://zhuuuz.wordpress.com/2007/07/09/clipbord/#comments</comments>
		<pubDate>Mon, 09 Jul 2007 17:50:23 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/07/09/clipbord/</guid>
		<description><![CDATA[function CutToClipboard() {    CutTxt = document.selection.createRange();    CutTxt.execCommand(”Cut”); } function CopyToClipboard() {    CopiedTxt = document.selection.createRange();    CopiedTxt.execCommand(”Copy”); } function PasteFromClipboard() {    document.Form1.txtArea.focus();    PastedText = document.Form1.txtArea.createTextRange();    PastedText.execCommand(”Paste”); } &#60;/script&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=11&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>function CutToClipboard()</p>
<p>{</p>
<p>   CutTxt = document.selection.createRange();</p>
<p>   CutTxt.execCommand(”Cut”);</p>
<p>}</p>
<p>function CopyToClipboard()</p>
<p>{</p>
<p>   CopiedTxt = document.selection.createRange();</p>
<p>   CopiedTxt.execCommand(”Copy”);</p>
<p>}</p>
<p>function PasteFromClipboard()</p>
<p>{</p>
<p>   document.Form1.txtArea.focus();</p>
<p>   PastedText = document.Form1.txtArea.createTextRange();</p>
<p>   PastedText.execCommand(”Paste”);</p>
<p>}</p>
<p>&lt;/script&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=11&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/07/09/clipbord/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>set font thai สำหรับ Jpgraph2</title>
		<link>http://zhuuuz.wordpress.com/2007/07/08/set-font-thai-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-jpgraph2/</link>
		<comments>http://zhuuuz.wordpress.com/2007/07/08/set-font-thai-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-jpgraph2/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 13:00:58 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/07/08/set-font-thai-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-jpgraph2/</guid>
		<description><![CDATA[DEFINE(&#8220;FF_ANGSA&#8221;,18); ลงไปใน ไฟล์ jpgraph.php และ ใน ไฟล์ เดียว กัน นำ function นี้ ไป แทน ที่ ของ เดิม function TTF() {this-&#62;style_names=array(FS_NORMAL=&#62;&#8217;normal&#8217;,FS_BOLD=&#62;&#8217;bold&#8217;,FS_ITALIC=&#62;&#8217;italic&#8217;,FS_BOLDITALIC=&#62;&#8217;bolditalic&#8217;); // File names for available fonts $this-&#62;font_files=array( FF_COURIER =&#62; array(FS_NORMAL=&#62;&#8217;cour.ttf&#8217;, FS_BOLD=&#62;&#8217;courbd.ttf&#8217;, FS_ITALIC=&#62;&#8217;couri.ttf&#8217;, FS_BOLDITALIC=&#62;&#8217;courbi.ttf&#8217; ), FF_GEORGIA =&#62; array(FS_NORMAL=&#62;&#8217;georgia.ttf&#8217;, FS_BOLD=&#62;&#8217;georgiab.ttf&#8217;, FS_ITALIC=&#62;&#8217;georgiai.ttf&#8217;, FS_BOLDITALIC=&#62;&#8221; ), FF_TREBUCHE =&#62;array(FS_NORMAL=&#62;&#8217;trebuc.ttf&#8217;, FS_BOLD=&#62;&#8217;trebucbd.ttf&#8217;, FS_ITALIC=&#62;&#8217;trebucit.ttf&#8217;, FS_BOLDITALIC=&#62;&#8217;trebucbi.ttf&#8217; ), FF_VERDANA =&#62; array(FS_NORMAL=&#62;&#8217;verdana.ttf&#8217;, FS_BOLD=&#62;&#8217;verdanab.ttf&#8217;, FS_ITALIC=&#62;&#8217;verdanai.ttf&#8217;, FS_BOLDITALIC=&#62;&#8221; ), FF_TIMES [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=10&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>DEFINE(&#8220;FF_ANGSA&#8221;,18); ลงไปใน ไฟล์ jpgraph.php<br />
และ ใน ไฟล์ เดียว กัน นำ function นี้ ไป แทน ที่ ของ เดิม<br />
function TTF() {this-&gt;style_names=array(FS_NORMAL=&gt;&#8217;normal&#8217;,FS_BOLD=&gt;&#8217;bold&#8217;,FS_ITALIC=&gt;&#8217;italic&#8217;,FS_BOLDITALIC=&gt;&#8217;bolditalic&#8217;);<br />
// File names for available fonts<br />
$this-&gt;font_files=array(<br />
FF_COURIER =&gt; array(FS_NORMAL=&gt;&#8217;cour.ttf&#8217;, FS_BOLD=&gt;&#8217;courbd.ttf&#8217;, FS_ITALIC=&gt;&#8217;couri.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;courbi.ttf&#8217; ),<br />
FF_GEORGIA =&gt; array(FS_NORMAL=&gt;&#8217;georgia.ttf&#8217;, FS_BOLD=&gt;&#8217;georgiab.ttf&#8217;, FS_ITALIC=&gt;&#8217;georgiai.ttf&#8217;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_TREBUCHE =&gt;array(FS_NORMAL=&gt;&#8217;trebuc.ttf&#8217;, FS_BOLD=&gt;&#8217;trebucbd.ttf&#8217;, FS_ITALIC=&gt;&#8217;trebucit.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;trebucbi.ttf&#8217; ),<br />
FF_VERDANA =&gt; array(FS_NORMAL=&gt;&#8217;verdana.ttf&#8217;, FS_BOLD=&gt;&#8217;verdanab.ttf&#8217;, FS_ITALIC=&gt;&#8217;verdanai.ttf&#8217;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_TIMES =&gt; array(FS_NORMAL=&gt;&#8217;times.ttf&#8217;, FS_BOLD=&gt;&#8217;timesbd.ttf&#8217;, FS_ITALIC=&gt;&#8217;timesi.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;timesbi.ttf&#8217; ),<br />
FF_COMIC =&gt; array(FS_NORMAL=&gt;&#8217;comic.ttf&#8217;, FS_BOLD=&gt;&#8217;comicbd.ttf&#8217;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_ARIAL =&gt; array(FS_NORMAL=&gt;&#8217;arial.ttf&#8217;, FS_BOLD=&gt;&#8217;arialbd.ttf&#8217;, FS_ITALIC=&gt;&#8217;ariali.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;arialbi.ttf&#8217; ) ,<br />
FF_VERA =&gt; array(FS_NORMAL=&gt;&#8217;Vera.ttf&#8217;, FS_BOLD=&gt;&#8217;VeraBd.ttf&#8217;, FS_ITALIC=&gt;&#8217;VeraIt.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;VeraBI.ttf&#8217; ),<br />
FF_VERAMONO =&gt; array(FS_NORMAL=&gt;&#8217;VeraMono.ttf&#8217;, FS_BOLD=&gt;&#8217;VeraMoBd.ttf&#8217;, FS_ITALIC=&gt;&#8217;VeraMoIt.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;VeraMoBI.ttf&#8217; ),<br />
FF_VERASERIF =&gt; array(FS_NORMAL=&gt;&#8217;VeraSe.ttf&#8217;, FS_BOLD=&gt;&#8217;VeraSeBd.ttf&#8217;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ) ,<br />
FF_SIMSUN =&gt; array(FS_NORMAL=&gt;&#8217;simsun.ttc&#8217;, FS_BOLD=&gt;&#8217;simhei.ttf&#8217;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_CHINESE =&gt; array(FS_NORMAL=&gt;CHINESE_TTF_FONT, FS_BOLD=&gt;&#8221;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_MINCHO =&gt; array(FS_NORMAL=&gt;MINCHO_TTF_FONT, FS_BOLD=&gt;&#8221;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_PMINCHO =&gt; array(FS_NORMAL=&gt;PMINCHO_TTF_FONT, FS_BOLD=&gt;&#8221;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_GOTHIC =&gt; array(FS_NORMAL=&gt;GOTHIC_TTF_FONT, FS_BOLD=&gt;&#8221;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_PGOTHIC =&gt; array(FS_NORMAL=&gt;PGOTHIC_TTF_FONT, FS_BOLD=&gt;&#8221;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ),<br />
FF_MINCHO =&gt; array(FS_NORMAL=&gt;PMINCHO_TTF_FONT, FS_BOLD=&gt;&#8221;, FS_ITALIC=&gt;&#8221;, FS_BOLDITALIC=&gt;&#8221; ) ,<br />
FF_ANGSA =&gt; array(FS_NORMAL=&gt;&#8217;angsa.ttf&#8217;, FS_BOLD=&gt;&#8217;angsab.ttf&#8217;, FS_ITALIC=&gt;&#8217;angsai.ttf&#8217;, FS_BOLDITALIC=&gt;&#8217;angsaz.ttf&#8217; ) ,<br />
);<br />
}</p>
<p>** ข้อมูล ภาษา ไทย ต้องเป็น UTF8</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=10&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/07/08/set-font-thai-%e0%b8%aa%e0%b8%b3%e0%b8%ab%e0%b8%a3%e0%b8%b1%e0%b8%9a-jpgraph2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP tips</title>
		<link>http://zhuuuz.wordpress.com/2007/07/08/php-tips/</link>
		<comments>http://zhuuuz.wordpress.com/2007/07/08/php-tips/#comments</comments>
		<pubDate>Sun, 08 Jul 2007 12:57:35 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/07/08/php-tips/</guid>
		<description><![CDATA[check ตัวอักษร 0-9 a-Z และ ก-ฮ Function preg_match if( preg_match(&#8220;/^[0-9A-Zก-ฮ]$/&#8221;, $msg) ) {       do something } else {      exit or do something }  &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; cache $cacheDir = dirname(__FILE__) . &#8216;/cache/&#8217;; if (isset($_GET['id'])) {    $cacheFile = $cacheDir . &#8216;_&#8217; . $_GET['id'] . &#8216;.html&#8217;; } else {    $cacheFile = $cacheDir . &#8216;index.html&#8217;; } [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=9&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>check ตัวอักษร 0-9 a-Z และ ก-ฮ</strong></p>
<p>Function <strong>preg_match </strong><br />
if( preg_match(&#8220;/^[0-9A-Zก-ฮ]$/&#8221;, $msg) ) {<br />
      do something<br />
} else {<br />
     exit or do something<br />
}</p>
<p> &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p><strong><u>cache</u></strong></p>
<p><strong>$cacheDir = dirname(__FILE__) . &#8216;/cache/&#8217;;</strong></p>
<p>if (isset($_GET['id'])) {<br />
   $cacheFile = $cacheDir . &#8216;_&#8217; . $_GET['id'] . &#8216;.html&#8217;;<br />
} else {<br />
   $cacheFile = $cacheDir . &#8216;index.html&#8217;;<br />
}</p>
<p>if (file_exists($cacheFile))<br />
{<br />
   header(&#8220;Content-Type: text/html&#8221;);<br />
   <strong>readfile($cacheFile);</strong><br />
   exit;<br />
}</p>
<p>// &#8230; more code coming</p>
<p>*** if your file to create cache is store in c:/webroot/<br />
folder cache is c:/webroot/cache/</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=9&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/07/08/php-tips/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>Streaming MP3</title>
		<link>http://zhuuuz.wordpress.com/2007/07/06/streaming-mp3/</link>
		<comments>http://zhuuuz.wordpress.com/2007/07/06/streaming-mp3/#comments</comments>
		<pubDate>Fri, 06 Jul 2007 18:36:09 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[HTML]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/07/06/streaming-mp3/</guid>
		<description><![CDATA[Streaming MP3 To stream MP3&#8242;s on a page you will need to have an MP3 player like WinAmp, Windows Media Player, or Real Audio Player. The MP3 will stream as it loads on the page and will allow for longer larger sound files to be played.  1. Save your MP3 file to the same directory [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=8&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Streaming MP3<br />
To stream MP3&#8242;s on a page you will need to have an MP3 player like WinAmp, Windows Media Player, or Real Audio Player. The MP3 will stream as it loads on the page and will allow for longer larger sound files to be played. </p>
<p>1. Save your MP3 file to the same directory where you will be playing the sound from, or a sound directory which you know the URL for already,</p>
<p>2. Open up a notepad by clicking Start =&gt; Programs =&gt; Accessories =&gt; Notepad</p>
<p>3. Type in only the exact Address or URL of your MP3 file.</p>
<p>Type it in as simple as this:<br />
<a href="http://www.domain.com/sound/music.mp3">http://www.domain.com/sound/music.mp3</a></p>
<p>where the domain is your domain, the sound folder is where you placed your MP3, and the music.mp3 is your mp3 file.</p>
<p>Save this file as music.m3u . Upload this file into the directory where you will place your sound.</p>
<p>4. Open your page up in an editor such as Notepad that will allow you to edit the code on the page.</p>
<p>5. Insert the following code into the HTML code of your page for a clickable link to stream by using this:</p>
<p>Clickable player and doawnload this file  by right clicking it and save to yur directory:</p>
<p>&lt;a href=&#8221;music.m3u&#8221; mce_href=&#8221;music.m3u&#8221;&gt;&lt;img border=&#8221;0&#8243; src=&#8221;mp3.gif&#8221; mce_src=&#8221;mp3.gif&#8221; width=&#8221;41&#8243; height=&#8221;25&#8243;&gt;&lt;/a&gt;</p>
<p>Or you can embed with this:</p>
<p>&lt;EMBED src=&#8221;music.m3u&#8221; mce_src=&#8221;music.m3u&#8221; autostart=true hidden=true&gt;</p>
<p>Or you can embed for both IE and Netscape with this:</p>
<p>&lt;!This code for IE&gt;<br />
&lt;EMBED SRC=&#8221;<a href="http://yourdomian.com/sound/music.m3u">http://yourdomian.com/sound/music.m3u</a>&#8221; HIDDEN=&#8221;true&#8221; AUTOSTART=&#8221;true&#8221; width=&#8221;128&#8243; height=&#8221;128&#8243;&gt;<br />
&lt;!This code for Netscape&gt;<br />
&lt;OBJECT ID=&#8221;MediaPlayer&#8221;<br />
classid=&#8221;CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95&#8243;<br />
CODEBASE=&#8221;<a href="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715">http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715</a>&#8220;<br />
standby=&#8221;Loading Microsoft Windows Media Player components&#8230;&#8221;<br />
TYPE=&#8221;application/x-oleobject&#8221; width=&#8221;239&#8243; height=&#8221;179&#8243;&gt;</p>
<p>&lt;PARAM NAME=&#8221;FileName&#8221; VALUE=&#8221;<a href="http://server/path/your-file.asx">http://server/path/your-file.asx</a>&#8220;&gt;<br />
&lt;PARAM NAME=&#8221;AnimationatStart&#8221; VALUE=&#8221;false&#8221;&gt;<br />
&lt;PARAM NAME=&#8221;TransparentatStart&#8221; VALUE=&#8221;true&#8221;&gt;<br />
&lt;PARAM NAME=&#8221;AutoStart&#8221; VALUE=&#8221;true&#8221;&gt;<br />
&lt;PARAM NAME=&#8221;ShowControls&#8221; VALUE=&#8221;0&#8243;&gt;</p>
<p>&lt;Embed TYPE=&#8221;application/x-mplayer2&#8243;<br />
pluginspage=&#8221;<a href="http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=Media&amp;sba=Plugin">http://www.microsoft.com/isapi/redir.dll?prd=windows&amp;sbp=mediaplayer&amp;ar=Media&amp;sba=Plugin</a>&amp;&#8221;<br />
SRC=&#8221;<a href="http://yourdomain.com/sound/music.m3u">http://Yourdomain.com/sound/music.m3u</a>&#8220;<br />
Name=MediaPlayer<br />
ShowControls=0<br />
Width=2<br />
Height=2<br />
&lt;/embed&gt;<br />
&lt;/OBJECT&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=8&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/07/06/streaming-mp3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple Calendar</title>
		<link>http://zhuuuz.wordpress.com/2007/06/27/simple-calendar/</link>
		<comments>http://zhuuuz.wordpress.com/2007/06/27/simple-calendar/#comments</comments>
		<pubDate>Wed, 27 Jun 2007 10:50:16 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/06/27/simple-calendar/</guid>
		<description><![CDATA[&#60;HTML&#62; &#60;BODY&#62; &#60;SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&#62; &#60;!&#8211; Begin var week = new Array(&#8220;Sun&#8221;, &#8220;Mon&#8221;, &#8220;Tue&#8221;, &#8220;Wed&#8221;, &#8220;Thu&#8221;, &#8220;Fri&#8221;, &#8220;Sat&#8221;); var monthdays = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31); var today = new Date(); var month = today.getMonth(); var day = today.getDay(); var dayN = today.getDate(); var days = monthdays[month]; if [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=7&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>&lt;HTML&gt;<br />
&lt;BODY&gt;</p>
<p>&lt;SCRIPT LANGUAGE=&#8221;JavaScript&#8221;&gt;</p>
<p>&lt;!&#8211; Begin<br />
var week = new Array(&#8220;Sun&#8221;, &#8220;Mon&#8221;, &#8220;Tue&#8221;, &#8220;Wed&#8221;, &#8220;Thu&#8221;, &#8220;Fri&#8221;, &#8220;Sat&#8221;);<br />
var monthdays = new Array(31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31);<br />
var today = new Date();<br />
var month = today.getMonth();<br />
var day = today.getDay();<br />
var dayN = today.getDate();<br />
var days = monthdays[month];<br />
if (month == 1) {<br />
  var year = today.getYear();<br />
  if (year%4 == 0) days = 29;<br />
}<br />
document.write(&#8220;&lt;table border=&#8217;0&#8242; cellspacing=&#8217;0&#8242; cellpadding=&#8217;0&#8242;&gt;&#8221;);<br />
document.write(&#8220;&lt;tr&gt;&#8221;);<br />
for (var i=0; i&lt;7; i++) {<br />
  document.write(&#8220;&lt;td width=&#8217;30&#8242; height=&#8217;30&#8242;&gt;&#8221;);<br />
  document.write(&#8220;&lt;div align=&#8217;center&#8217;&gt;&#8221; + week[i] + &#8220;&lt;/div&gt;&#8221;);<br />
  document.write(&#8220;&lt;/td&gt;&#8221;);<br />
}<br />
document.write(&#8220;&lt;/tr&gt;&#8221;);<br />
var jumped = 0;<br />
var inserted = 1;<br />
var start = day &#8211; dayN%7 + 1;<br />
if (start &lt; 0) start += 7;<br />
var weeks = parseInt((start + days)/7);<br />
if ((start + days)%7 != 0) weeks++;<br />
for (var i=weeks; i&gt;0; i&#8211;) {<br />
  document.write(&#8220;&lt;tr&gt;&#8221;);<br />
  for (var j=7; j&gt;0; j&#8211;) {<br />
    document.write(&#8220;&lt;td&gt;&#8221;);<br />
    if (jumped&lt;start || inserted&gt;days) {<br />
      document.write(&#8220;&lt;div align=&#8217;center&#8217;&gt;&lt;/div&gt;&#8221;);<br />
      jumped++;<br />
    }<br />
    else {<br />
      if (inserted == dayN) document.write(&#8220;&lt;div align=&#8217;center&#8217;&gt;[" + inserted + "]&lt;/div&gt;&#8221;);<br />
      else document.write(&#8220;&lt;div align=&#8217;center&#8217;&gt;&#8221; + inserted + &#8220;&lt;/div&gt;&#8221;);<br />
      inserted++;<br />
    }<br />
    document.write(&#8220;&lt;/td&gt;&#8221;)<br />
  }<br />
  document.write(&#8220;&lt;/tr&gt;&#8221;);<br />
}<br />
document.write(&#8220;&lt;/table&gt;&#8221;);<br />
//  End &#8211;&gt;<br />
&lt;/script&gt;<br />
&lt;/BODY&gt;<br />
&lt;/HTML&gt;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=7&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/06/27/simple-calendar/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
		<item>
		<title>file size</title>
		<link>http://zhuuuz.wordpress.com/2007/06/25/file-management/</link>
		<comments>http://zhuuuz.wordpress.com/2007/06/25/file-management/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 04:35:50 +0000</pubDate>
		<dc:creator>zhuuuz</dc:creator>
				<category><![CDATA[javascript]]></category>

		<guid isPermaLink="false">http://zhuuuz.wordpress.com/2007/06/25/file-management/</guid>
		<description><![CDATA[วิธีเข้าถึงขนาดของไฟล์ที่ input type=&#8221;file&#8221; โดยใช้ javascript +ActiveX &#60;html&#62; &#60;head&#62; &#60;script language=&#8221;JavaScript&#8221;&#62; function A() { var oas = new ActiveXObject(&#8220;Scripting.FileSystemObject&#8221;); var d = document.a.b.value; var e = oas.getFile(d); var f = e.size; alert(f + &#8221; bytes&#8221;); } &#60;/script&#62; &#60;/head&#62; &#60;body&#62; &#60;form name=&#8221;a&#8221;&#62; &#60;input type=&#8221;file&#8221; name=&#8221;b&#8221;&#62; &#60;input type=&#8221;button&#8221; name=&#8221;c&#8221; value=&#8221;SIZE&#8221; onClick=&#8221;A();&#8221;&#62; &#60;/form&#62; &#60;/body&#62; &#60;/html&#62;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=5&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font size="2" face="MS Sans Serif">วิธีเข้าถึงขนาดของไฟล์ที่ input type=&#8221;file&#8221; โดยใช้ javascript +ActiveX<br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&lt;script language=&#8221;JavaScript&#8221;&gt;<br />
function A()<br />
{<br />
var oas = new ActiveXObject(&#8220;Scripting.FileSystemObject&#8221;);<br />
var d = document.a.b.value;<br />
var e = oas.getFile(d);<br />
var f = e.size;<br />
alert(f + &#8221; bytes&#8221;);<br />
}<br />
&lt;/script&gt;<br />
&lt;/head&gt;<br />
&lt;body&gt;<br />
&lt;form name=&#8221;a&#8221;&gt;<br />
&lt;input type=&#8221;file&#8221; name=&#8221;b&#8221;&gt;<br />
&lt;input type=&#8221;button&#8221; name=&#8221;c&#8221; value=&#8221;SIZE&#8221; onClick=&#8221;A();&#8221;&gt;<br />
&lt;/form&gt;<br />
&lt;/body&gt;<br />
&lt;/html&gt;</font></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zhuuuz.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zhuuuz.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zhuuuz.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zhuuuz.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zhuuuz.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zhuuuz.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zhuuuz.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zhuuuz.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zhuuuz.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zhuuuz.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zhuuuz.wordpress.com&amp;blog=1282894&amp;post=5&amp;subd=zhuuuz&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zhuuuz.wordpress.com/2007/06/25/file-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a30227bc7bf15cc4581e562ead1ee4c2?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zhuuuz</media:title>
		</media:content>
	</item>
	</channel>
</rss>
