Multilanguage Programming with UTF-8 Encoding

Multilanguage non-ASCII site? Sometimes we need to make website that can handle languages which contains non-ASCII characters, for example chinese, russian, french, germany, etc. To handle this, we need to handle the language on 3 parts : on PHP itself, HTML, and on the database (i use MySQL as example here). Basically, we need to […]

Panduan PHP dari Newbie – 1

Biasakan menulis kode PHP anda dalam kondisi : register globals : OFF. Kebanyakan web hosting mematikan setting register globals. short open tag : OFF. Idem. Gunakan require, daripada include. Gunakan require_once (/ include_once) hanya bila diperlukan. Untuk konstanta (/ sesuatu yang bersifat global), gunakan perintah define daripada variabel biasa. Percayalah, dengan mematuhi syarat di atas, […]