<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss'><id>tag:blogger.com,1999:blog-20810891</id><updated>2009-11-09T05:37:22.767+07:00</updated><title type='text'>Bigquery.com</title><subtitle type='html'>Bigquery แนะนำ การเขียนเว็บไซต์ ด้วยการใช้ภาษา php html css webmaster tips &amp;amp; tools

BigQuery.com พร้อมที่จะถ่ายทอดประสบการณ์ การทำเว็บไซต์แบบง่าย.. เพื่อเป็นพื้นฐานในการเขียนเว็บไซต์ และเพิ่มลูกเล่นให้กับเว็บไซต์ อีกทั้งเป็นทางเลือกในการสร้างเว็บไซต์ด้วยเครื่องมือต่างๆ</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>7</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20810891.post-7249510913104791700</id><published>2008-09-28T00:00:00.000+07:00</published><updated>2008-09-28T00:01:28.186+07:00</updated><title type='text'>Encode email เพื่อป้องกันโปรแกรมดูดอีเมลล์ ด้วย php</title><content type='html'>ปัจจุบันข้อมูลมีมูลค่ามหาศาล ผู้ที่มีข้อมูลมากกว่าย่อมเป็นต่อในการทำธุรกิจหรือ ทำการตลาด ดังนั้นจึงมีโปรแกรมต่าง ๆ ที่ไว้คอยดูดอีเมลล์จากเว็บไซต์ ตามเว็บบอร์ด หรือจากการโพสต่าง ๆ ในเว็บไซต์ เพื่อนำไปใช้ในเชิงธุรกิจ หรือแม้กระทั้งเอาอีเมลล์ของเราไปขาย ซึ่งจะกลายเป็น spam mail เข้ามาในเมลล์ของเราเป็นจำนวนมาก สร้างความรำคาญให้กับเจ้าของอีเมลล์ อีกหนึ่งวิธีการป้องกันคือ การเข้ารหัสอีเมลล์นั้นเสีย&lt;br /&gt;&lt;br /&gt;เริ่มกันเลยดีกว่า ผมจะเขียนให้อยู่ในรูปแบบของฟังก์ชั่น php นะครับ เพื่อจะได้นำไปใช้ได้ง่าย ๆ&lt;br /&gt;====================================&lt;br /&gt;&lt;?php&lt;br /&gt;function mailEncode($mailText){&lt;br /&gt;   $email = '';&lt;br /&gt;   for($i=0; $i&lt;strlen($mailText);$i++){&lt;br /&gt;      $email .= '&amp;#'.ord(substr($mailText,$i,1));&lt;br /&gt;   }&lt;br /&gt;   return $email;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;echo mailEncode("bigquery@gmail.com");&lt;br /&gt;?&gt; &lt;br /&gt;====================================&lt;br /&gt;&lt;br /&gt;เมื่อ view source ดูจะได้ &amp;#98&amp;#105&amp;#103&amp;#113&amp;#117&amp;#101&amp;#114&amp;#121&amp;#64&amp;#103&amp;#109&amp;#97&amp;#105&amp;#108&amp;#46&amp;#99&amp;#111&amp;#109&lt;br /&gt;&lt;br /&gt;การ encode อีเมลล์อาจป้องกันได้ในระดับหนึ่งเท่านั้น&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-7249510913104791700?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/7249510913104791700/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=7249510913104791700' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/7249510913104791700'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/7249510913104791700'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/09/encode-email-php.html' title='Encode email เพื่อป้องกันโปรแกรมดูดอีเมลล์ ด้วย php'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20810891.post-3839760172044753368</id><published>2008-09-27T23:58:00.000+07:00</published><updated>2008-09-27T23:59:28.300+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='mysql sql syntac insert into form select table copy table copy data'/><title type='text'>SQL INSERT .. SELECT คำสั่งการ copy data จาก table สู่ table</title><content type='html'>คำสั่ง SQL อีกหนึ่งคำสั่งที่อาจจะไม่ได้ใช้กันบ่อยนัก แต่เชื่อได้ว่ามีประโยชน์แน่นอนคือคำสั่ง INSERT INTO ... SELECT เป็นคำสั่ง SQL ที่ใช้ในการแทรก หรือ INSERT ข้อมูล โดยการนำข้อมูลหรือ records จากอีกหนึ่งตารางมา INSERT ลงในอีกหนึ่งตาราง&lt;br /&gt;&lt;br /&gt;รูปแบบของคำสั่งคือ&lt;br /&gt;INSERT INTO "table1" ("column1", "column2")&lt;br /&gt;SELECT "column3", "column4"&lt;br /&gt;FROM "table2"&lt;br /&gt;&lt;br /&gt;ตัวอย่างเช่น&lt;br /&gt;หากต้องการ นำข้อมูลในตาราง Orders ที่เป็นการซื้อขายในปี 2007 มาเก็บไว้อีกหนึ่งตาราง สามารถสร้าง query ได้ดังนี้&lt;br /&gt;INSERT INTO Orders2007(order_id, date_purchased, amount)&lt;br /&gt;SELECT order_id, date_purchased, amount&lt;br /&gt;FROM Orders&lt;br /&gt;WHERE Year(date_purchased) = 2007;&lt;br /&gt;&lt;br /&gt;เท่านี้ก็จะได้ข้อมูลการซื้อขายในปี 2007 มาไว้ในตาราง Orders2007&lt;br /&gt;คำสั่ง SQL นี้เปรียบเสมือนการคัดลอก (Copy) บางระเบียนที่ต้องการมาไว้อีกตารางนั้นเอง&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-3839760172044753368?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/3839760172044753368/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=3839760172044753368' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/3839760172044753368'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/3839760172044753368'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/09/sql-insert-select-copy-data-table-table.html' title='SQL INSERT .. SELECT คำสั่งการ copy data จาก table สู่ table'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20810891.post-1964025348859009328</id><published>2008-02-11T22:36:00.000+07:00</published><updated>2008-02-11T22:39:49.995+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><category scheme='http://www.blogger.com/atom/ns#' term='HTML'/><category scheme='http://www.blogger.com/atom/ns#' term='DHTML'/><category scheme='http://www.blogger.com/atom/ns#' term='FLASH'/><title type='text'>Flash content displays on top of all DHTML layers</title><content type='html'>&lt;p&gt;&lt;strong&gt;Issue&lt;/strong&gt;&lt;br /&gt;A Flash movie in a layer on a DHTML page containing several layers may display above all the layers, regardless of the stacking order ("z-index") of those layers.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Reason&lt;br /&gt;&lt;/strong&gt;By default, browsers place embedded plug-in content, such as a Flash movie or Java applet, on the topmost layer. In older browsers, attempts to place a DHTML layer on top of a Flash layer would fail. Newer browsers add the ability to layer Flash content with DHTML content and in some cases the ability to use transparent backgrounds in the Flash content (see below).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Solution&lt;/strong&gt;&lt;br /&gt;Use the WMODE parameter to allow layering of Flash content with DHTML layers. The WMODE parameter can be 'window' (default), 'opaque', or 'transparent'. Using a WMODE value of 'opaque' or 'transparent' will prevent a Flash movie from playing in the topmost layer and allow you to adjust the layering of the movie within other layers of the HTML document.&lt;br /&gt;For details on creating a Flash movie with a transparent background and more information on using the WMODE parameter refer to &lt;a href="http://kb.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_14201"&gt;How to make a Flash movie with a transparent background&lt;/a&gt; (TechNote 14201).&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Note:&lt;/strong&gt; The WMODE parameter is supported only on some browser/Flash Player version combinations. If the WMODE parameter is not supported, the Flash movie will always display on top. Refer to TechNote 14201 for details.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-1964025348859009328?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/1964025348859009328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=1964025348859009328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/1964025348859009328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/1964025348859009328'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/02/flash-content-displays-on-top-of-all.html' title='Flash content displays on top of all DHTML layers'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20810891.post-5275901805104409209</id><published>2008-01-22T10:55:00.000+07:00</published><updated>2008-01-22T11:07:40.047+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='regular expression'/><category scheme='http://www.blogger.com/atom/ns#' term='.net'/><category scheme='http://www.blogger.com/atom/ns#' term='c#'/><title type='text'>RegularExpressionValidator decimal</title><content type='html'>User Control RegularExpressionValidator with number and decimal regex&lt;br /&gt;Try this regex -&lt;br /&gt;\d{1,}\.?\d{0,}&lt;br /&gt;&lt;br /&gt;put to e.g. ValidationExpression="\d{1,}\.?\d{0,}"&lt;br /&gt;==========================================&lt;br /&gt;&lt;br /&gt;&amp;lt;asp:RegularExpressionValidator ID=&amp;quot;RegularExpressionValidator1&amp;quot; runat=&amp;quot;server&amp;quot; ControlToValidate=&amp;quot;txtWeight&amp;quot;&lt;br /&gt;&lt;br /&gt;ErrorMessage=&amp;quot;Format(X.XX)&amp;quot; ValidationExpression=&amp;quot;\d{1,}\.?\d{0,}&amp;quot;&amp;gt;&amp;lt;/asp:RegularExpressionValidator&amp;gt;&lt;br /&gt;&lt;br /&gt;==========================================&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-5275901805104409209?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/5275901805104409209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=5275901805104409209' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/5275901805104409209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/5275901805104409209'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/01/regularexpressionvalidator-decimal.html' title='RegularExpressionValidator decimal'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20810891.post-6874594695224589721</id><published>2008-01-21T22:41:00.000+07:00</published><updated>2008-01-21T22:43:05.070+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>Error in my_thread_global_end(): 1 threads didn't exit</title><content type='html'>Copy libmysql.dll for &lt;a href="http://www.php.net/releases/"&gt;http://www.php.net/releases/&lt;/a&gt; select Version 5.2.1 ...Select Windows binary Download and Extract copy libmysql.dll to PHP folder&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-6874594695224589721?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/6874594695224589721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=6874594695224589721' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/6874594695224589721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/6874594695224589721'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/01/error-in-mythreadglobalend-1-threads.html' title='Error in my_thread_global_end(): 1 threads didn&apos;t exit'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20810891.post-1172805410847563674</id><published>2008-01-21T22:34:00.000+07:00</published><updated>2008-01-21T22:43:38.677+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='MySQL'/><category scheme='http://www.blogger.com/atom/ns#' term='PHP'/><title type='text'>PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - Access is denied</title><content type='html'>Hi. I've spent the last 6 hours researching this on the Internet and can't find a solution so I'm hoping someone might be able to help.&lt;br /&gt;&lt;br /&gt;Anytime I use new mysqli() or mysqli_connect() I receive this error on my browser:&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_mysql.dll' - Access is denied. in Unknown on line 0 PHP Warning: PHP Startup:&lt;br /&gt;Unable to load dynamic library 'C:\PHP\ext\php_mysqli.dll' - Access is denied. in Unknown on line 0&lt;br /&gt;---------------&lt;br /&gt;&lt;br /&gt;I have PHP 5.1.4 installed on WIN along with MySQL 5.0.22 running on IIS 5.1 (XP Pro). I have correctly updated the php.ini file with these modifications:&lt;br /&gt;&lt;br /&gt;extension_dir = C:\PHP\ext&lt;br /&gt;extension=php_mysql.dll (without semi-colon)&lt;br /&gt;extension=php_mysqli.dll (without semi-colon)&lt;br /&gt;&lt;br /&gt;I have placed the updated libmysql.dll file that I have downloaded from &lt;a href="http://dev.mysql.com/downloads/connector/php/" rel="nofollow"&gt;http://dev.mysql.com/downloads/connector/php/&lt;/a&gt; in the C:\PHP, C:\WINDOWS and C:\WINDOWS\system 32, have restarted everytime and still cannot correct this error.&lt;br /&gt;&lt;br /&gt;Does anyone have more information to assist me? If you need any more information from me to help diagnose, I will be glad to provide.&lt;br /&gt;&lt;br /&gt;source: &lt;a href="http://forums.mysql.com/read.php?11,102233,102233"&gt;http://forums.mysql.com/read.php?11,102233,102233&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-1172805410847563674?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/1172805410847563674/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=1172805410847563674' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/1172805410847563674'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/1172805410847563674'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/01/php-warning-php-startup-unable-to-load.html' title='PHP Warning: PHP Startup: Unable to load dynamic library &apos;C:\PHP\ext\php_mysqli.dll&apos; - Access is denied'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-20810891.post-743554294714403174</id><published>2008-01-21T22:28:00.000+07:00</published><updated>2008-01-21T22:32:57.881+07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='CSS'/><title type='text'>Rotate text with CSS</title><content type='html'>&lt;p&gt;&lt;br /&gt;if you wish to rotate text, and if your 'text' is not Chinese/Japanese/Korean ideograph character, then you can simply use a CSS style, e.g. (below example I didn't test because I use Linux)&lt;br /&gt;code: &lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="WRITING-MODE: tb-rl"&gt;This text should be rotated vertically&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;details:&lt;a href="http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/writingmode.asp" target="_blank"&gt;http://msdn.microsoft.com/workshop/author/dhtml/reference/properties/writingmode.asp&lt;/a&gt;&lt;/p&gt;&lt;p&gt;This is an IE feature, mozilla/opera does not support it (and does not plan to). That's why my above example is not tested. This happens to be the *only* feature that I prefer IE over firefox/mozilla.&lt;/p&gt;&lt;p&gt;source : &lt;a href="http://www.ozoneasylum.com/11093"&gt;http://www.ozoneasylum.com/11093&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20810891-743554294714403174?l=bigquery.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://bigquery.blogspot.com/feeds/743554294714403174/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=20810891&amp;postID=743554294714403174' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/743554294714403174'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20810891/posts/default/743554294714403174'/><link rel='alternate' type='text/html' href='http://bigquery.blogspot.com/2008/01/rotate-text-with-css.html' title='Rotate text with CSS'/><author><name>Bigquery.com</name><uri>http://www.blogger.com/profile/17971848697379973405</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='11317533861233286071'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry></feed>