Google Analytics : 自定特殊統計 tag sample   <script> ……. ga(‘create’, ‘UA-xxxxxxxx-1’, ‘’); ga(‘send’, ‘pageview’); ga(‘send’, ‘event’, ‘分類瀏覽數’, ‘xxx’); ga(‘send’, ‘event’, ‘分類瀏覽數’, ‘yyy’); ga(‘send’, ‘event’, ‘小計瀏覽數’, ‘zzz’); </script>  

Hypertext Transfer Protocol — HTTP/1.1 – 這可是現今最偉大的 protocol 呀!

The Hypertext Transfer Protocol (HTTP) is an application-level protocol for distributed, collaborative, hypermedia information systems. It is a generic, stateless, protocol which can be used for many tasks beyond its use for hypertext, such as name servers and distributed object management systems, through extension of its request methods, error codes and headers Status Code […]

PHP Coding Standards

參考: Mantis : 中文翻譯: First, start off by reading the PHP Coding Standards document. I’ve deviated in a few places but just about everything in the document applies here as well. Above all, write code that is easy to read and maintain. Comment blocks of code and functions at all times. And get […]

[note] javascript 的 foreach / split / php explode style 寫法

var loc=”25.258861, 121.509389″; var arr=loc.split(“,”); var content = ”; for (var key in arr) { content += key + ‘ : ‘ + arr[key] + “\n”; } 另一個 var myarr = new Array(‘red’,’green’,’blue’); var content=”; for(var key in myarr){ content += key+’ : ‘+myarr[key]+”\n”; } alert( content );