Code สำหรับดึงข้อมูล script ต่าง Domain พวก library หรือ font ที่ไม่สามารถใช้ Cache-Control โดย host ของเราได้จึงต้องดึงข้อมูลมาแล้ว เพิ่ม Cache-Control ให้กับมันแล้วจึงนำมาใช้ในเว็บไซต์
Tuesday, 24 February 2015
Friday, 26 September 2014
แหล่งรวมความรู้เก็บไว้อ่าน
เว็บภาษาอังกฤษ
W3Schools
CSS Tricks
Developer.mozilla.org
WebPlatform
เว็บภาษาไทย
ThaiCSS
EnjoyDay
DesignIL
SiamHTML
W3Schools
CSS Tricks
Developer.mozilla.org
WebPlatform
เว็บภาษาไทย
ThaiCSS
EnjoyDay
DesignIL
SiamHTML
Friday, 15 August 2014
Code Collection
World Country Array A-Z แยกตามตัวอักษร
ภายใน อาร์เรย์ประกอบไปด้วย ชื่อประเทศ เป็น Key และ และมี อาร์เรย์ภายในอีก 2 ตัวคือ ทวีป กับชื่อย่อของประเทศนั้นๆ Example array("Thailand"=>array(continent=>"AS",Abbreviation=>"TH"))
***ทวีป ผมใช้ตัวย่อ คือ
AS = ASIAN | AF = AFRICA | EU = EUROPE | NA = NORTH AMERICA | SA = SOUTH AMERICA | AO = AUSTRALIA AND OCEANIA
และ กลุ่ม E_UNION = European Union และ ASEAN = ASEAN
A
Afghanistan
Albania
Algeria
Andorra
Angola
Antigua & Barbuda
Argentina
Armenia
Australia
Austria
Azerbaijan
$Acountry = array("Afghanistan"=>array("continent"=>"AS","abbrev"=>"AF"), "Albania"=>array("continent"=>"EU","abbrev"=>"AL"), "Algeria"=>array("continent"=>"AF","abbrev"=>"DZ"),"Andorra"=>array("continent"=>"EU","abbrev"=>"AD"),"Angola"=>array("continent"=>"AF","abbrev"=>"AO"),"Antigua & Barbuda"=>array("continent"=>"NA","abbrev"=>"AG"),"Argentina"=>array("continent"=>"SA","abbrev"=>"AR"),"Armenia"=>array("continent"=>"EU","abbrev"=>"AM"),"Australia"=>array("continent"=>"AO","abbrev"=>"AU"),"Austria"=>array("continent"=>"EU E_UNION","abbrev"=>"AT"),"Azerbaijan"=>array("continent"=>"EU","abbrev"=>"AZ"));
B
Bahamas
Bahrain
Bangladesh
Barbados
Belarus
Belgium
Belize
Benin
Bhutan
Bolivia
Bosnia & Herzegovina
Botswana
Brazil
Brunei
Bulgaria
Burkina Faso
Burundi
$Bcountry = array("Bahamas"=>array("continent"=>"NA","abbrev"=>"BS"),"Bahrain"=>array("continent"=>"AS","abbrev"=>"BH"),"Bangladesh"=>array("continent"=>"AS","abbrev"=>"BD"),"Barbados"=>array("continent"=>"NA","abbrev"=>"BB"),"Belarus"=>array("continent"=>"EU","abbrev"=>"BY"),"Belgium"=>array("continent"=>"EU E_UNION","abbrev"=>"BE"),"Belize"=>array("continent"=>"NA","abbrev"=>"BZ"),"Benin"=>array("continent"=>"AF","abbrev"=>"BJ"),"Bhutan"=>array("continent"=>"AS","abbrev"=>"BT"),"Bolivia"=>array("continent"=>"SA","abbrev"=>"BO"),"Bosnia & Herzegovina"=>array("continent"=>"EU","abbrev"=>"BA"),"Botswana"=>array("continent"=>"AF","abbrev"=>"BW"),"Brazil"=>array("continent"=>"SA","abbrev"=>"BR"),"Brunei"=>array("continent"=>"AS ASEAN","abbrev"=>"BN"),"Bulgaria"=>array("continent"=>"EU E_UNION","abbrev"=>"BG"),"Burkina Faso"=>array("continent"=>"AF","abbrev"=>"BF"),"Burundi"=>array("continent"=>"AF","abbrev"=>"BI"));
Tuesday, 15 July 2014
Secure Login In PHP AND MYSQLi
http://www.wikihow.com/Create-a-Secure-Login-Script-in-PHP-and-MySQL แปะลิ้งไว้ก่อน Secure Login
http://www.sitepoint.com/support-retina-displays/
http://imulus.github.io/retinajs/
http://mashable.com/2014/08/28/static-website-generators/?utm_cid=mash-com-fb-tech-link
http://www.limecanvas.com/speed-up-your-website-using-caching-and-htaccess/
http://butlerccwebdev.net/support/testingserver/vhosts-setup-win.html How to setup host server
http://www.sitepoint.com/support-retina-displays/
http://imulus.github.io/retinajs/
http://mashable.com/2014/08/28/static-website-generators/?utm_cid=mash-com-fb-tech-link
http://www.limecanvas.com/speed-up-your-website-using-caching-and-htaccess/
http://butlerccwebdev.net/support/testingserver/vhosts-setup-win.html How to setup host server
Subscribe to:
Posts (Atom)