Tag: PHP

EAN 13 check digits with PHP

Calculate check digits for EAN13, 12345678910111213141516171819function ean13_check_digit($digits) { //first change digits to a string so that we can access individual numbers $digits =(string)

Serendipity migrate to WordPress - Categories

我將個blog 由 serendipity migrate 到 Wordpress, 期間我寫 script 黎 migrate Category,因為發覺 Seredipity 同 WordPress 既 database design mindset 有d 唔同而喺 database design 亦常遇到類似既問題所以順便拎出黎講講。 Serendipity 喺處埋 categories 方