PHP – convert Vietnamese character between VNI and Unicode

Why I need it? VNI here stands for VNI Encoding, a way to store Vietnamese characters without using Unicode in 1990s ans 2000s. In fact, many Vietnamese old documents used it instead of Unicode. When working with a new web project, a client requires me to build their website with Unicode (of course!) but the … Continue reading PHP – convert Vietnamese character between VNI and Unicode

Convert date time data between php servers and user browsers

You need this because: Your web server is in a fixed location when your users can be in any country all over the world, Our world doesn't use the same clock but it's divided in to 24 parts called timezones You need to get, manipulate or display current date time between your web server and … Continue reading Convert date time data between php servers and user browsers