เว็บภาษาอังกฤษ
W3Schools
CSS Tricks
Developer.mozilla.org
WebPlatform
เว็บภาษาไทย
ThaiCSS
EnjoyDay
DesignIL
SiamHTML
Friday, 26 September 2014
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
MIME TYPE FILE
MIME Type (Multipurpose Internet Mail Extension) เป็นการกําหนดชนิดข้อมูลมาตรฐานสําหรับอินเทอร์เนตในแบบ Content-type เป็นตัวบ่งชี้ว่าชนิดข้อมูลนั้นๆคืออะไร เว็บเบราเซอร์จะนำข้อมูลนั้นมาโดยวิธีใด และจะจัดการกับข้อมูลเหล่านั้นต่อไปอย่างไร อาจแสดงเป็นชนิดข้อมูลหลัก type เปล่าๆ หรือแสดงชนิดข้อมูลรองด้วย type/subtype เช่น Text, Text/html
ตารางชนิดไฟล์
Microsoft Office type
Ext | MIME Type |
---|---|
.doc | application/msword |
.dot | application/msword |
.docx | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
.dotx | application/vnd.openxmlformats-officedocument.wordprocessingml.template |
.docm | application/vnd.ms-word.document.macroEnabled.12 |
.dotm | application/vnd.ms-word.template.macroEnabled.12 |
.xls | application/vnd.ms-excel |
.xlt | application/vnd.ms-excel |
.xla | application/vnd.ms-excel |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.xltx | application/vnd.openxmlformats-officedocument.spreadsheetml.template |
.xlsm | application/vnd.ms-excel.sheet.macroEnabled.12 |
.xltm | application/vnd.ms-excel.template.macroEnabled.12 |
.xlam | application/vnd.ms-excel.addin.macroEnabled.12 |
.xlsb | application/vnd.ms-excel.sheet.binary.macroEnabled.12 |
.ppt | application/vnd.ms-powerpoint |
.pot | application/vnd.ms-powerpoint |
.pps | application/vnd.ms-powerpoint |
.ppa | application/vnd.ms-powerpoint |
.pptx | application/vnd.openxmlformats-officedocument.presentationml.presentation |
.potx | application/vnd.openxmlformats-officedocument.presentationml.template |
.ppsx | application/vnd.openxmlformats-officedocument.presentationml.slideshow |
.ppam | application/vnd.ms-powerpoint.addin.macroEnabled.12 |
.pptm | application/vnd.ms-powerpoint.presentation.macroEnabled.12 |
.potm | application/vnd.ms-powerpoint.template.macroEnabled.12 |
.ppsm | application/vnd.ms-powerpoint.slideshow.macroEnabled.12 |
อื่นๆ
'txt' => 'text/plain',
'htm' => 'text/html',
'html' => 'text/html',
'php' => 'text/html',
'css' => 'text/css',
'js' => 'application/javascript',
'json' => 'application/json',
'xml' => 'application/xml',
'swf' => 'application/x-shockwave-flash',
'flv' => 'video/x-flv',
// images
'png' => 'image/png',
'jpe' => 'image/jpeg',
'jpeg' => 'image/jpeg',
'jpg' => 'image/jpeg',
'gif' => 'image/gif',
'bmp' => 'image/bmp',
'ico' => 'image/vnd.microsoft.icon',
'tiff' => 'image/tiff',
'tif' => 'image/tiff',
'svg' => 'image/svg+xml',
'svgz' => 'image/svg+xml',
// archives
'zip' => 'application/zip',
'rar' => 'application/x-rar-compressed',
'exe' => 'application/x-msdownload',
'msi' => 'application/x-msdownload',
'cab' => 'application/vnd.ms-cab-compressed',
// audio/video
'mp3' => 'audio/mpeg',
'qt' => 'video/quicktime',
'mov' => 'video/quicktime',
// adobe
'pdf' => 'application/pdf',
'psd' => 'image/vnd.adobe.photoshop',
'ai' => 'application/postscript',
'eps' => 'application/postscript',
'ps' => 'application/postscript',
// ms office
'doc' => 'application/msword',
'rtf' => 'application/rtf',
'xls' => 'application/vnd.ms-excel',
'ppt' => 'application/vnd.ms-powerpoint',
// open office
'odt' => 'application/vnd.oasis.opendocument.text', 'ods' => 'application/vnd.oasis.opendocument.spreadsheet',
ดูไฟล์ทั้งหมดที่ลิ้งนี้หรือคลิกอ่านเพิ่มเติม http://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
Credit by http://www.iana.org/assignments/media-types/media-types.xhtml
Saturday, 19 April 2014
Waiting
Waiting For loading life
รับงานพัฒนาเว็บไซต์ ออกแบบตามความต้องการ ดูแลหลังการใช้งานจนสามารถเข้าใจระบบครับ ติดต่อ t.tohard@gmail.com
Subscribe to:
Posts (Atom)