Monthly Archives: พฤษภาคม 2013

What is the Mule Studio

Mule is a Java-based enterprise service bus (ESB) and integration platform that allows developers to quickly and easily connect applications to exchange data following the service-oriented architecture (SOA) methodology. Mule enables easy integration of existing systems, regardless of the different technologies that the … Continue reading

Posted in technology | Leave a comment

Advantages of Mule Studio

Advantages of Mule Studio: You can easily create Mule ESB Flows, and edit and test them quickly without a deep knowledge of Mule configuration. One of the main advantages of Mule Studio is that you can build Mule ESB Flows … Continue reading

Posted in technology | Leave a comment

get last day of month [javascript]

var dayObject = new Date(year,month, 0).toString(); var d = dayObject.split(’ ‘); var day = d[2]; // get last day of month

Posted in เกร็ดความรู้, เว็บไซต์ | Leave a comment


ถ้าคุณจำเป็นที่จะต้องการแปลงข้อความที่มาเป็นรูปแบบอย่างนี้ (If you need to tranform unicode to utf) example $str  = "\u0e23\u0e2b\u0e31\u0e2a\u0e1c\u0e48\u0e32\u0e19\u0e15\u0e49\u0e2d\u0e07\u0e21\u0e35\u0e04\u0e27\u0e32\u0e21\u0e22\u0e32\u0e27 4-16 \u0e15\u0e31\u0e27\u0e2d\u0e31\u0e01\u0e29\u0e23 \u0e44\u0e21\u0e48\u0e2a\u0e32\u0e21\u0e32\u0e23\u0e16\u0e43\u0e0a\u0e49 \u0e20\u0e32\u0e29\u0e32\u0e44\u0e17\u0e22 \u0e41\u0e25\u0e30\u0e04\u0e2d\u0e21\u0e21\u0e48\u0e32(1104)" ให้ใช้ฟังก์ชันตามด้านล่าง ( You can use below function) function unicode_decode($str){     return preg_replace("/\\\u([0-9A-F]{4})/ie", "iconv(‘utf-16′, ‘utf-8′, hex2str(\"$1\"))", $str);     }     … Continue reading

Posted in เว็บไซต์ | Leave a comment