Sessions, Dates & Encoding articles

Sessions, Dates & Encoding 382 PHP sessions: where they live, and why users get logged out A PHP session is a small file on the server, tied to the visitor by a cookie (the PHPSESSID). That is where the...
Sessions, Dates & Encoding 404 The wrong date or time on your site or e-mails: WordPress, PHP and time zones The short answer: “the time is wrong” can come from four places, and fixing one does not fix the others: WordPress...
Sessions, Dates & Encoding 466 Accents turning into strange symbols on your site: UTF-8 from file to database The short answer: “ação” shows as “ação”, or as “a��o”, or as “a?o”. It is always the same problem: the text was...